diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt new file mode 100644 index 00000000..dc516ffe --- /dev/null +++ b/apps/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_BUILD_TYPE Release) +set(CMAKE_CXX_STANDARD_REQUIRED ON) #...is required... +set(CMAKE_CXX_EXTENSIONS OFF) #...without compiler extensions like gnu++11 +include_directories(../) +include_directories(../eigenlib) +add_subdirectory(metro) +add_subdirectory(tridecimator) diff --git a/apps/metro/CMakeLists.txt b/apps/metro/CMakeLists.txt new file mode 100644 index 00000000..f628ace7 --- /dev/null +++ b/apps/metro/CMakeLists.txt @@ -0,0 +1,2 @@ +project (metro) +add_executable(metro metro.cpp ../../wrap/ply/plylib.cpp) diff --git a/apps/tridecimator/CMakeLists.txt b/apps/tridecimator/CMakeLists.txt index fa817a76..7f337fcb 100644 --- a/apps/tridecimator/CMakeLists.txt +++ b/apps/tridecimator/CMakeLists.txt @@ -1,9 +1,2 @@ -cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) -set(CMAKE_CXX_STANDARD 11) -set(CMAKE_BUILD_TYPE Release) -set(CMAKE_CXX_STANDARD_REQUIRED ON) #...is required... -set(CMAKE_CXX_EXTENSIONS OFF) #...without compiler extensions like gnu++11 project (tridecimator) add_executable(tridecimator tridecimator.cpp ../../wrap/ply/plylib.cpp) -include_directories(../../) -include_directories(../../eigenlib)