mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +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}
|
||||
PRIVATE ${COMPILE_OPTIONS_DEFAULT})
|
||||
|
||||
target_compile_definitions(${TEST_EXE_NAME}
|
||||
PRIVATE ${MK_COMPILE_DEFINITIONS})
|
||||
|
||||
if(USE_SOLUTION_FOLDERS)
|
||||
SET_PROPERTY(TARGET ${TEST_EXE_NAME} PROPERTY FOLDER "test")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user