forked from assimp/assimp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake cleanup, part one (sorry for the large commit).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@576 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
- Loading branch information
klickverbot
committed
Mar 3, 2010
1 parent
31febb2
commit ee6c6e5
Showing
3 changed files
with
40 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,20 @@ | ||
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 | ||
) | ||
INCLUDE_DIRECTORIES( include ) | ||
|
||
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_HOME_DIRECTORY}/lib ) | ||
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_HOME_DIRECTORY}/bin ) | ||
SET( LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib" ) | ||
|
||
SET( LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib" ) | ||
SET( INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" ) | ||
SET( BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin" ) | ||
SET( LIBRARY_VERSION "1.0.0" ) | ||
SET( LIBRARY_SOVERSION "1" ) | ||
|
||
# Libs | ||
add_subdirectory( code/ ) | ||
IF( WIN32 ) | ||
add_subdirectory( test/ ) | ||
add_subdirectory( tools/assimp_view/ ) | ||
ENDIF( WIN32 ) | ||
|
||
add_subdirectory( tools/assimp_cmd/ ) | ||
ADD_SUBDIRECTORY( code/ ) | ||
IF ( WIN32 ) | ||
ADD_SUBDIRECTORY( test/ ) | ||
ADD_SUBDIRECTORY( tools/assimp_view/ ) | ||
ENDIF ( WIN32 ) | ||
|
||
ADD_SUBDIRECTORY( tools/assimp_cmd/ ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters