cmakefile for metro and tridecimator compacted

This commit is contained in:
Paolo Cignoni 2017-03-28 18:44:38 +02:00
parent 174576d096
commit 570f203bf6
3 changed files with 11 additions and 7 deletions

9
apps/CMakeLists.txt Normal file
View File

@ -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)

View File

@ -0,0 +1,2 @@
project (metro)
add_executable(metro metro.cpp ../../wrap/ply/plylib.cpp)

View File

@ -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)