mirror of
https://github.com/vxcontrol/MemoryModule.git
synced 2026-07-25 08:35:44 -04:00
15 lines
361 B
CMake
15 lines
361 B
CMake
set (sources_testsuite
|
|
TestSuite.c
|
|
)
|
|
|
|
if (NOT MSVC)
|
|
set (CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-static")
|
|
set (CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "-static")
|
|
endif ()
|
|
|
|
add_executable (TestSuite ${sources_testsuite})
|
|
target_link_libraries ("TestSuite" "MemoryModule")
|
|
if (NOT MSVC)
|
|
set_target_properties ("TestSuite" PROPERTIES SUFFIX ".exe")
|
|
endif ()
|