This commit is contained in:
@@ -8,6 +8,10 @@ file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp")
|
|||||||
add_library(Arbutils SHARED ${SRC_FILES})
|
add_library(Arbutils SHARED ${SRC_FILES})
|
||||||
set_target_properties(Arbutils PROPERTIES LINKER_LANGUAGE CXX)
|
set_target_properties(Arbutils PROPERTIES LINKER_LANGUAGE CXX)
|
||||||
|
|
||||||
|
if (WINDOWS)
|
||||||
|
ADD_DEFINITIONS(-D WINDOWS=1)
|
||||||
|
endif (WINDOWS)
|
||||||
|
|
||||||
file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp")
|
file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp")
|
||||||
if (NOT DEFINED CONAN_EXPORTED)
|
if (NOT DEFINED CONAN_EXPORTED)
|
||||||
add_executable(ArbutilsTests ${TEST_FILES} extern/catch.hpp)
|
add_executable(ArbutilsTests ${TEST_FILES} extern/catch.hpp)
|
||||||
|
|||||||
Reference in New Issue
Block a user