initial commit
This commit is contained in:
26
tests/CMakeLists.txt
Normal file
26
tests/CMakeLists.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
cmake_minimum_required(VERSION 3.10.1)
|
||||
|
||||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||
conan_basic_setup()
|
||||
|
||||
set(EXEC_TEST
|
||||
"test.cpp"
|
||||
)
|
||||
|
||||
add_executable(exec_test ${EXEC_TEST})
|
||||
|
||||
message("CONAN INCLUDE DIRS:")
|
||||
message("${CONAN_INCLUDE_DIRS}")
|
||||
message("CONAN LIB DIRS:")
|
||||
message("${CONAN_LIBS}")
|
||||
target_include_directories(exec_test
|
||||
PUBLIC
|
||||
${CONAN_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(exec_test
|
||||
PUBLIC
|
||||
gtest
|
||||
)
|
||||
|
||||
add_test(NAME exec_test COMMAND exec_test)
|
||||
Reference in New Issue
Block a user