Also build and run testsuite on cmake CI tests.

This commit is contained in:
Joachim Bauch
2016-09-20 22:58:17 +02:00
parent f5c9db8b5c
commit 184113ca09
6 changed files with 40 additions and 5 deletions
+9
View File
@@ -40,11 +40,20 @@ else ()
message (STATUS "Compile without UNICODE support")
endif ()
option(TESTSUITE "Compile with TESTSUITE support" OFF)
if (TESTSUITE)
message (STATUS "Compile with TESTSUITE support")
add_definitions ("-DTESTSUITE")
else ()
message (STATUS "Compile without TESTSUITE support")
endif ()
add_library (MemoryModule STATIC MemoryModule.c MemoryModule.h)
if (NOT MSVC)
set_target_properties ("MemoryModule" PROPERTIES PREFIX "")
endif ()
add_subdirectory (example)
add_subdirectory (tests)
enable_language (RC)