synced windows compile definitions with scons configuration

df9164b9bd
pull/649/head
Nickolai Korshunov 2021-11-11 14:46:03 +03:00
parent fd76008f63
commit 5336c7e97b
1 changed files with 5 additions and 0 deletions

View File

@ -151,6 +151,11 @@ target_compile_definitions(${PROJECT_NAME} PUBLIC
$<$<CONFIG:Debug>:DEBUG_ENABLED> $<$<CONFIG:Debug>:DEBUG_ENABLED>
$<$<CONFIG:Debug>:DEBUG_METHODS_ENABLED> $<$<CONFIG:Debug>:DEBUG_METHODS_ENABLED>
) )
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
target_compile_definitions(${PROJECT_NAME} PUBLIC TYPED_METHOD_BIND)
endif()
target_include_directories(${PROJECT_NAME} PUBLIC target_include_directories(${PROJECT_NAME} PUBLIC
include include
${CMAKE_CURRENT_BINARY_DIR}/gen/include ${CMAKE_CURRENT_BINARY_DIR}/gen/include