File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,23 @@ if (DEFINED FORCE_TEST)
5353 set (TEST_LINK_DIRECTORIES )
5454 set (TEST_LINK_LIBRARIES capstone)
5555
56- if (${CMAKE_SYSTEM_NAME} NOT MATCHES "Windows" )
56+ if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows" )
5757 add_executable (test_disasm test_disasm.cpp disassembler.cpp)
5858 add_executable (test_asm test_asm.cpp assembler.cpp)
59+
60+ set_target_properties (test_disasm PROPERTIES
61+ CXX_STANDARD 17
62+ CXX_VISIBILITY_PRESET hidden
63+ CXX_STANDARD_REQUIRED ON
64+ VISIBILITY_INLINES_HIDDEN ON
65+ POSITION_INDEPENDENT_CODE ON )
66+
67+ set_target_properties (test_asm PROPERTIES
68+ CXX_STANDARD 17
69+ CXX_VISIBILITY_PRESET hidden
70+ CXX_STANDARD_REQUIRED ON
71+ VISIBILITY_INLINES_HIDDEN ON
72+ POSITION_INDEPENDENT_CODE ON )
5973
6074 target_include_directories (test_disasm PRIVATE ${TEST_INCLUDE_LIST} )
6175 target_link_directories (test_disasm PRIVATE ${TEST_LINK_DIRECTORIES} )
You can’t perform that action at this time.
0 commit comments