Stashed some testing files used to make sure that the library can also be used from pure C projects (better compatibility). These changes will never go to master as-is.

This commit is contained in:
jpekkila
2019-07-23 18:24:47 +03:00
parent 0282f45077
commit b65454d523
9 changed files with 135 additions and 47 deletions

View File

@@ -12,7 +12,7 @@
#-------------------General---------------------------------------------------#
project(ASTAROTH_2.0 CXX)
project(ASTAROTH_2.0 C CXX)
set (CMAKE_CXX_STANDARD 11)
cmake_minimum_required (VERSION 3.5.1) # Need >= 3.8 for first-class CUDA support
cmake_policy (SET CMP0023 NEW)
@@ -181,3 +181,5 @@ if (BUILD_STANDALONE)
cuda_add_executable(ac_run src/standalone/main.cc)
target_link_libraries(ac_run astaroth_standalone astaroth_core ${SDL2_LIBRARY})
endif()
add_subdirectory(ctest)