2009-04-18 00:10:16 +00:00
|
|
|
cmake_minimum_required( VERSION 2.6 )
|
|
|
|
PROJECT( AssetImporter )
|
|
|
|
|
|
|
|
SET( CMAKE_CURRENT_SOURCE_DIR ${CMAKE_HOME_DIRECTORY}/code )
|
|
|
|
SET( CMAKE_CURRENT_BINARY_DIR ${CMAKE_HOME_DIRECTORY}/bin )
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
|
|
include
|
|
|
|
)
|
|
|
|
|
|
|
|
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_HOME_DIRECTORY}/lib )
|
|
|
|
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_HOME_DIRECTORY}/bin )
|
|
|
|
|
|
|
|
# Libs
|
|
|
|
add_subdirectory( code/ )
|
2009-08-02 20:53:30 +00:00
|
|
|
add_subdirectory( test/ )
|
|
|
|
add_subdirectory( tools/assimp_cmd/ )
|
2009-04-18 00:10:16 +00:00
|
|
|
IF( WIN32 )
|
|
|
|
add_subdirectory( tools/assimp_view/ )
|
|
|
|
ENDIF( WIN32 )
|
|
|
|
|
|
|
|
|
|
|
|
|