diff --git a/.gitignore b/.gitignore index 07ed706..a007fea 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -build/* \ No newline at end of file +build/* diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4dca8bd --- /dev/null +++ b/CMakeLists.txt @@ -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) \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..fd0a947 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,10 @@ +set(TARGET_NAME run_tests) + + +# add test sources here ... +add_executable(${TARGET_NAME} + + ../lib/fischl.cpp + testfischl.cpp + +) \ No newline at end of file