diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-08-01 19:39:13 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-08-01 19:39:13 (GMT) |
commit | bca8837bc47686adbf96498a3b645aaeacd07d69 (patch) | |
tree | 365c1f28bcc6d027ac99b8f353fcee6c71df5675 /CMakeLists.txt | |
parent | 7e81f2155717f8490ffd1b23e4f0aa8ac44d4de8 (diff) | |
download | uscxml-bca8837bc47686adbf96498a3b645aaeacd07d69.zip uscxml-bca8837bc47686adbf96498a3b645aaeacd07d69.tar.gz uscxml-bca8837bc47686adbf96498a3b645aaeacd07d69.tar.bz2 |
Added to appveyor
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e95e7e8..a74b64b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -522,8 +522,14 @@ else() endif() string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_UC) -message(STATUS " CXX Flags : " ${CMAKE_CXX_FLAGS} " " ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UC}}) -message(STATUS " C Flags : " ${CMAKE_C_FLAGS} " " ${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UC}}) +message(STATUS " CXX Flags : " ${CMAKE_CXX_FLAGS} " " ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UC}}) +message(STATUS " C Flags : " ${CMAKE_C_FLAGS} " " ${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UC}}) + +get_directory_property( CDEFLIST DIRECTORY ${CMAKE_SOURCE_DIR} COMPILE_DEFINITIONS ) +foreach( DEF ${CDEFLIST} ) + set( CDEFS "${CDEFS} ${DEF}" ) +endforeach() +message(STATUS " Definitions : " ${CDEFS}) STRING(REGEX REPLACE "${CMAKE_BINARY_DIR}" "BUILD_DIR" REL_CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) STRING(REGEX REPLACE "${CMAKE_SOURCE_DIR}" "SOURCE_DIR" REL_CMAKE_LIBRARY_OUTPUT_DIRECTORY ${REL_CMAKE_LIBRARY_OUTPUT_DIRECTORY}) |