Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Etienne Schmitt
CGoGN
Commits
61c2f883
Commit
61c2f883
authored
Jan 06, 2012
by
Sylvain Thery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add an install procedure (make install)
parent
53ce7937
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
CMakeLists.txt
CMakeLists.txt
+14
-1
No files found.
CMakeLists.txt
View file @
61c2f883
...
...
@@ -14,7 +14,7 @@ SET ( BUILD_SHARED_LIBS OFF CACHE BOOL "if used all library are build as shared
SET
(
WITH_ASSIMP ON CACHE BOOL
"build CGoGN with Assimp "
)
SET
(
WITH_ZINRI ON CACHE BOOL
"build CGoGN with Zinri lib "
)
SET
(
WITH_QT ON CACHE BOOL
"build CGoGN with Qt lib "
)
#SET ( WITH_NUMERICAL OFF
CACHE BOOL "build CGoGN with Numerical libs support ")
SET
(
WITH_NUMERICAL ON
CACHE BOOL
"build CGoGN with Numerical libs support "
)
IF
(
WIN32
)
set
(
CMAKE_PREFIX_PATH
${
CGoGN_ROOT_DIR
}
/windows_dependencies CACHE STRING
"path to dependencies"
)
...
...
@@ -59,12 +59,14 @@ IF (WITH_ASSIMP)
add_definitions
(
-DWITH_ASSIMP
)
SET
(
CGoGN_EXT_INCLUDES
${
CGoGN_EXT_INCLUDES
}
${
CGoGN_ROOT_DIR
}
/ThirdParty/Assimp/include
)
SET
(
CGoGN_EXT_LIBS
${
CGoGN_EXT_LIBS
}
assimp
)
INSTALL
(
DIRECTORY ThirdParty/Assimp/include DESTINATION .
)
ENDIF
(
WITH_ASSIMP
)
IF
(
WITH_ZINRI
)
add_definitions
(
-DWITH_ZINRI
)
SET
(
CGoGN_EXT_INCLUDES
${
CGoGN_EXT_INCLUDES
}
${
CGoGN_ROOT_DIR
}
/ThirdParty/Zinri
)
SET
(
CGoGN_EXT_LIBS
${
CGoGN_EXT_LIBS
}
Zinri
)
INSTALL
(
DIRECTORY ThirdParty/Zinri/ DESTINATION include FILES_MATCHING PATTERN
"*.h"
)
ENDIF
(
WITH_ZINRI
)
IF
(
WITH_QT
)
...
...
@@ -83,6 +85,12 @@ ENDIF (WITH_QT)
# SET (CGoGN_NUMERICAL_LIBS f2c blas numerical lapack)
#ENDIF (WITH_NUMERICAL)
IF
(
WITH_NUMERICAL
)
INSTALL
(
FILES ThirdParty/Numerical/UFconfig/UFconfig.h DESTINATION include
)
INSTALL
(
DIRECTORY ThirdParty/Numerical/ DESTINATION include FILES_MATCHING PATTERN
"*.h"
)
INSTALL
(
DIRECTORY ThirdParty/Numerical/ DESTINATION include FILES_MATCHING PATTERN
"*.hpp"
)
ENDIF
(
WITH_NUMERICAL
)
# qq definition specifiques pour mac
IF
(
APPLE
)
# attention a changer pour chercher la bonne version automatiquement
...
...
@@ -105,3 +113,8 @@ ELSE(WIN32)
add_subdirectory
(
${
CGoGN_ROOT_DIR
}
/Apps Apps
)
ENDIF
(
WIN32
)
INSTALL
(
DIRECTORY
${
CGoGN_ROOT_DIR
}
/include
${
CGoGN_ROOT_DIR
}
/lib
${
CGoGN_ROOT_DIR
}
/bin DESTINATION .
)
INSTALL
(
DIRECTORY ThirdParty/glm/glm DESTINATION include
)
INSTALL
(
DIRECTORY cmake_modules DESTINATION .
)
INSTALL
(
FILES apps_cmake.txt DESTINATION .
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment