23 lines
458 B
CMake
23 lines
458 B
CMake
|
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/ )
|
||
|
|
||
|
IF( WIN32 )
|
||
|
add_subdirectory( tools/assimp_view/ )
|
||
|
ENDIF( WIN32 )
|
||
|
|
||
|
|
||
|
|