mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
cpp测试程序添加必要编译宏
This commit is contained in:
parent
afcf247464
commit
bdd83cf61a
@ -39,6 +39,9 @@ foreach(TEST_SRC ${TEST_SRC_LIST})
|
|||||||
target_compile_options(${TEST_EXE_NAME}
|
target_compile_options(${TEST_EXE_NAME}
|
||||||
PRIVATE ${COMPILE_OPTIONS_DEFAULT})
|
PRIVATE ${COMPILE_OPTIONS_DEFAULT})
|
||||||
|
|
||||||
|
target_compile_definitions(${TEST_EXE_NAME}
|
||||||
|
PRIVATE ${MK_COMPILE_DEFINITIONS})
|
||||||
|
|
||||||
if(USE_SOLUTION_FOLDERS)
|
if(USE_SOLUTION_FOLDERS)
|
||||||
SET_PROPERTY(TARGET ${TEST_EXE_NAME} PROPERTY FOLDER "test")
|
SET_PROPERTY(TARGET ${TEST_EXE_NAME} PROPERTY FOLDER "test")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user