CMakeLists.txt 850 Bytes
Newer Older
Sylvain Thery's avatar
Sylvain Thery committed
1 2
cmake_minimum_required(VERSION 2.8)

Sylvain Thery's avatar
Sylvain Thery committed
3
project(benches)
Sylvain Thery's avatar
Sylvain Thery committed
4

Sylvain Thery's avatar
Sylvain Thery committed
5
#SET(CMAKE_BUILD_TYPE Release)
Sylvain Thery's avatar
Sylvain Thery committed
6
#SET(CMAKE_BUILD_TYPE Debug)
Sylvain Thery's avatar
Sylvain Thery committed
7
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNOTOPOWARNING")
Sylvain Thery's avatar
Sylvain Thery committed
8 9 10 11 12 13 14 15 16 17


# define includes path
include_directories(
	${CMAKE_CURRENT_BINARY_DIR}
	${CGoGN_ROOT_DIR}/include
	${CGoGN_EXT_INCLUDES}
)

# define libs path
Sylvain Thery's avatar
Sylvain Thery committed
18 19 20 21 22
#IF(WIN32)
#	link_directories( ${CGoGN_ROOT_DIR}/lib/$(ConfigurationName) ${Boost_LIBRARY_DIRS} )
#ELSE(WIN32)
#	link_directories( ${CGoGN_ROOT_DIR}/lib/Release )
#ENDIF(WIN32)
Sylvain Thery's avatar
Sylvain Thery committed
23 24 25


add_executable(bench_trav bench_trav.cpp )
Sylvain Thery's avatar
Sylvain Thery committed
26
target_link_libraries( bench_trav ${CGoGN_LIBS} ${CGoGN_EXT_LIBS} )
Sylvain Thery's avatar
Sylvain Thery committed
27 28

add_executable(bench_remesh bench_remesh.cpp )
Sylvain Thery's avatar
Sylvain Thery committed
29
target_link_libraries( bench_remesh ${CGoGN_LIBS} ${CGoGN_EXT_LIBS} )
Sylvain Thery's avatar
Sylvain Thery committed
30 31

add_executable(bench_compact bench_compact.cpp )
Sylvain Thery's avatar
Sylvain Thery committed
32
target_link_libraries( bench_compact ${CGoGN_LIBS} ${CGoGN_EXT_LIBS} )