CMakeLists.txt 780 Bytes
Newer Older
1 2
cmake_minimum_required(VERSION 2.6)

Pierre Kraemer's avatar
Pierre Kraemer committed
3 4
project(CGoGN_ThirdParty)

5
SET(CGoGN_ROOT_DIR ${CMAKE_SOURCE_DIR}/..)
6
SET(CMAKE_BUILD_TYPE Release)
thery's avatar
thery committed
7

8 9 10
IF (APPLE)
	SET(CMAKE_OSX_ARCHITECTURES x86_64)
ENDIF(APPLE)
11

Pierre Kraemer's avatar
Pierre Kraemer committed
12
IF(WIN32)
sylvain thery's avatar
sylvain thery committed
13 14
	SET(LIBRARY_OUTPUT_PATH ${CGoGN_ROOT_DIR}/lib)#release added by visual
	INCLUDE_DIRECTORIES(${CGoGN_ROOT_DIR}/windows_dependencies/include/)
Pierre Kraemer's avatar
Pierre Kraemer committed
15
ELSE(WIN32)
sylvain thery's avatar
sylvain thery committed
16
	SET(LIBRARY_OUTPUT_PATH ${CGoGN_ROOT_DIR}/lib/Release)
Pierre Kraemer's avatar
Pierre Kraemer committed
17 18 19 20 21
	add_custom_target( FakeTargetOpenCTM ALL "make" 
		WORKING_DIRECTORY ${CGoGN_ROOT_DIR}/ThirdParty/OpenCTM
		COMMENT "Custom compile of OpenCTM" )
ENDIF(WIN32)

22 23 24 25 26 27 28 29
add_subdirectory(Zinri Zinri/build)
add_subdirectory(gzstream gzstream/build)
add_subdirectory(Numerical Numerical/build)
add_subdirectory(Tools Tools/build)

add_subdirectory(Assimp Assimp/build)