Salome HOME
projects
/
tools
/
documentation.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a1eb7a
)
CMake doc
author
bruneton
<bruneton>
Tue, 23 Jul 2013 10:04:32 +0000
(10:04 +0000)
committer
bruneton
<bruneton>
Tue, 23 Jul 2013 10:04:32 +0000
(10:04 +0000)
dev/cmake/source/skeleton.rst
patch
|
blob
|
history
diff --git
a/dev/cmake/source/skeleton.rst
b/dev/cmake/source/skeleton.rst
index 3505b7f119fcfedaf1d282f8c65bf7339098ed23..ba07f6c2af9275ce84279c6892198d07b22fdab9 100644
(file)
--- a/
dev/cmake/source/skeleton.rst
+++ b/
dev/cmake/source/skeleton.rst
@@
-33,7
+33,7
@@
The root CMakeLists.txt should contain the following elements:
ENDIF()
ENDIF()
-*
I
nstallation directories. Those directories should be used consistently across all SALOME modules::
+*
Common i
nstallation directories. Those directories should be used consistently across all SALOME modules::
SET(SALOME_INSTALL_BINS bin/salome CACHE PATH "Install path: SALOME binaries")
SET(SALOME_INSTALL_LIBS lib/salome CACHE PATH "Install path: SALOME libs")
SET(SALOME_INSTALL_BINS bin/salome CACHE PATH "Install path: SALOME binaries")
SET(SALOME_INSTALL_LIBS lib/salome CACHE PATH "Install path: SALOME libs")
@@
-43,6
+43,13
@@
The root CMakeLists.txt should contain the following elements:
...
...
+* Specific installation directories. Those should start with SALOME_<MODULE>::
+
+ SET(SALOME_GUI_INSTALL_PARAVIEW_LIBS lib/paraview CACHE PATH "Install path: SALOME GUI ParaView libraries")
+ SET(SALOME_GUI_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/gui" CACHE PATH "Install path: SALOME GUI specific data")
+ ...
+
+
* Inclusion of the source code directories to be compiled::
IF(NOT SALOME_LIGHT_ONLY)
* Inclusion of the source code directories to be compiled::
IF(NOT SALOME_LIGHT_ONLY)
@@
-63,11
+70,11
@@
First, include directories::
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIRS}
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIRS}
- ${
CMAKE
_BINARY_DIR}/salome_adm
+ ${
PROJECT
_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
- ${
CMAKE
_BINARY_DIR}/idl
+ ${
PROJECT
_BINARY_DIR}/idl
)
Then we define the sources list <target>_SOURCES::
)
Then we define the sources list <target>_SOURCES::