CMakeLists.txt 625 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(Tuto_Attributes)
Sylvain Thery's avatar
Sylvain Thery committed
4

Sylvain Thery's avatar
Sylvain Thery committed
5
include_directories(${CMAKE_CURRENT_BINARY_DIR})
Sylvain Thery's avatar
Sylvain Thery committed
6

Sylvain Thery's avatar
Sylvain Thery committed
7
8
add_executable( simple_attribs simple_attribs.cpp)
target_link_libraries( simple_attribs ${CGoGN_LIBS} ${CGoGN_EXT_LIBS} )
Sylvain Thery's avatar
Sylvain Thery committed
9
10


Sylvain Thery's avatar
Sylvain Thery committed
11
12
add_executable( multi_attribs multi_attribs.cpp)
target_link_libraries( multi_attribs ${CGoGN_LIBS} ${CGoGN_EXT_LIBS} )
Sylvain Thery's avatar
Sylvain Thery committed
13
14


Sylvain Thery's avatar
Sylvain Thery committed
15
IF(WITH_QT)
Sylvain Thery's avatar
Sylvain Thery committed
16

Sylvain Thery's avatar
Sylvain Thery committed
17
18
19
20
	QT4_WRAP_UI(vbo_attribs_ui vbo_attribs.ui)
	QT4_WRAP_CPP(vbo_attribs_moc vbo_attribs.h)
	add_executable( vbo_attribs vbo_attribs.cpp ${vbo_attribs_ui} ${vbo_attribs_moc})
	target_link_libraries( vbo_attribs ${CGoGN_LIBS}  ${CGoGN_EXT_LIBS} )
Sylvain Thery's avatar
Sylvain Thery committed
21

Sylvain Thery's avatar
Sylvain Thery committed
22
ENDIF()