Arrange Test directory.
This commit is contained in:
@@ -29,9 +29,10 @@ INCLUDE_DIRECTORIES(${GTEST_INCLUDE_DIRS})
|
||||
include_directories(./src ./src/util)
|
||||
|
||||
file(GLOB_RECURSE test_cpp ./test/*.cpp)
|
||||
file(GLOB_RECURSE test_h ./test/*.h)
|
||||
enable_testing()
|
||||
|
||||
add_executable(Aurora_Test ${cpp_files} ${test_cpp})
|
||||
add_executable(Aurora_Test ${cpp_files} ${test_cpp} ${test_h})
|
||||
target_compile_options(Aurora_Test PUBLIC $<TARGET_PROPERTY:MKL::MKL,INTERFACE_COMPILE_OPTIONS>)
|
||||
target_include_directories(Aurora_Test PUBLIC $<TARGET_PROPERTY:MKL::MKL,INTERFACE_INCLUDE_DIRECTORIES>)
|
||||
target_link_libraries(Aurora_Test PUBLIC $<LINK_ONLY:MKL::MKL>)
|
||||
|
||||
Reference in New Issue
Block a user