|
|
@@ -20,12 +20,11 @@ add_definitions(-D_CHAR16T)
|
|
|
file(GLOB EABASE_SOURCES "include/Common/EABase/*.h" "include/Common/EABase/config/*.h")
|
|
|
|
|
|
if(EABASE_BUILD_TESTS)
|
|
|
- # add_subdirectory(test/packages/EAAssert)
|
|
|
- # add_subdirectory(test/packages/EAStdC)
|
|
|
+ add_subdirectory(test/packages/EAAssert)
|
|
|
+ add_subdirectory(test/packages/EAStdC)
|
|
|
add_subdirectory(test/packages/EAMain)
|
|
|
add_subdirectory(test/packages/EATest)
|
|
|
- # add_subdirectory(test/packages/EAThread)
|
|
|
-
|
|
|
+ add_subdirectory(test/packages/EAThread)
|
|
|
add_subdirectory(test)
|
|
|
endif()
|
|
|
|
|
|
@@ -39,7 +38,3 @@ add_library(EABase INTERFACE)
|
|
|
#-------------------------------------------------------------------------------------------
|
|
|
target_include_directories(EABase INTERFACE include/Common)
|
|
|
|
|
|
-# HACK: Workaround CMake limitations to have files of interface / header-only
|
|
|
-# libaries show up in IDEs
|
|
|
-# http://stackoverflow.com/questions/27039019/how-to-have-cmake-show-headers-that-are-not-part-of-any-binary-target-in-the-ide/29218394#29218394
|
|
|
-add_custom_target(EABase_ide SOURCES ${EABASE_SOURCES})
|