recovered CMakeLists
This commit is contained in:
parent
32614265f6
commit
c9407907e3
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
build/*
|
build/*
|
||||||
|
20
CMakeLists.txt
Normal file
20
CMakeLists.txt
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
cmake_minimum_required (VERSION 3.1.0)
|
||||||
|
project(fischl)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
# fischl include files
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||||
|
)
|
||||||
|
|
||||||
|
add_executable(fischl
|
||||||
|
|
||||||
|
# Header filesc
|
||||||
|
lib/fischl.cpp
|
||||||
|
lib/main.cpp
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
enable_testing()
|
||||||
|
add_subdirectory(test)
|
10
test/CMakeLists.txt
Normal file
10
test/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
set(TARGET_NAME run_tests)
|
||||||
|
|
||||||
|
|
||||||
|
# add test sources here ...
|
||||||
|
add_executable(${TARGET_NAME}
|
||||||
|
|
||||||
|
../lib/fischl.cpp
|
||||||
|
testfischl.cpp
|
||||||
|
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user