mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 21:36:13 +01:00
Use project-local CMake variables
This commit is contained in:
1 parent
87289d57ea
commit
d50ff75b44
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ find_package(Doxygen REQUIRED)
|
|||||||
|
|
||||||
# set the input and output documentation paths
|
# set the input and output documentation paths
|
||||||
set(DOXYGEN_INPUT_DIR ${PROJECT_SOURCE_DIR})
|
set(DOXYGEN_INPUT_DIR ${PROJECT_SOURCE_DIR})
|
||||||
set(DOXYGEN_OUTPUT_DIR ${CMAKE_BINARY_DIR}/doc)
|
set(DOXYGEN_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
# see if we can generate the CHM documentation
|
# see if we can generate the CHM documentation
|
||||||
if(SFML_OS_WINDOWS)
|
if(SFML_OS_WINDOWS)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ include(${PROJECT_SOURCE_DIR}/cmake/Macros.cmake)
|
|||||||
include_directories(${PROJECT_SOURCE_DIR}/src)
|
include_directories(${PROJECT_SOURCE_DIR}/src)
|
||||||
|
|
||||||
# set the output directory for CSFML libraries
|
# set the output directory for CSFML libraries
|
||||||
set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/lib")
|
set(LIBRARY_OUTPUT_PATH "${PROJECT_BINARY_DIR}/lib")
|
||||||
|
|
||||||
# define the export symbol
|
# define the export symbol
|
||||||
add_definitions(-DCSFML_EXPORTS)
|
add_definitions(-DCSFML_EXPORTS)
|
||||||
|
|||||||
Reference in new issue
Block a user