mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
The definitions file has to be generated after the options but before the build step. This way it will be included in the install target (#173)
This commit is contained in:
parent
e04681ac42
commit
ac54350346
@ -84,6 +84,13 @@ MESSAGE("Software Version: ${VERSION}")
|
||||
# ============================================================================
|
||||
INCLUDE (${g3log_SOURCE_DIR}/Options.cmake)
|
||||
|
||||
# =========================================================================
|
||||
# G3 Macro definitions in Options.cmake are written to file
|
||||
# this avoids having to re-state your definitions in your source code
|
||||
# or compile options
|
||||
#==========================================================================
|
||||
INCLUDE (${g3log_SOURCE_DIR}/GenerateMacroDefinitionsFile.cmake)
|
||||
|
||||
|
||||
|
||||
# =========================================================================
|
||||
@ -116,14 +123,7 @@ MESSAGE("Software Version: ${VERSION}")
|
||||
INCLUDE (${g3log_SOURCE_DIR}/test_unit/Test.cmake)
|
||||
|
||||
|
||||
# =========================================================================
|
||||
# G3 Macro definitions in Options.cmake are written to file
|
||||
# this avoids having to re-state your definitions in your source code
|
||||
# or compile options
|
||||
#==========================================================================
|
||||
INCLUDE (${g3log_SOURCE_DIR}/GenerateMacroDefinitionsFile.cmake)
|
||||
|
||||
|
||||
|
||||
|
||||
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# ==========================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user