27 lines
No EOL
808 B
CMake
27 lines
No EOL
808 B
CMake
harbour_harvest_files()
|
|
|
|
harbour_create_test_lib(testsIntegration)
|
|
|
|
target_link_libraries(testsIntegration PUBLIC testsUnit)
|
|
|
|
if (DLL)
|
|
add_subdirectory(../external/framework/usSharedIntegration external/framework)
|
|
target_link_libraries(testsIntegration PUBLIC usSharedIntegration)
|
|
endif()
|
|
|
|
if (ANDROID)
|
|
if(ANDROID_VS)
|
|
#set(CMAKE_CXX_FLAGS "-std=c++11 -Wno-deprecated-declarations ${CMAKE_CXX_FLAGS}")
|
|
else()
|
|
set(CMAKE_CXX_FLAGS "-std=c++11 -Wno-deprecated-declarations ${CMAKE_CXX_FLAGS}")
|
|
endif()
|
|
endif()
|
|
|
|
if(GGP)
|
|
# For Jotun
|
|
target_include_directories(testsIntegration BEFORE PRIVATE ${PROJECT_SOURCE_DIR}/external/dependencies/UMPLoader/include)
|
|
endif()
|
|
|
|
if(US_BUILDING_FOR_US)
|
|
target_compile_options(testsIntegration PUBLIC -DUS_S2S_TESTS_PRIVATE_KEY)
|
|
endif() |