Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a127bc5
)
Definiton of MODULE variable for cmake
author
adam
<adam>
Fri, 4 Mar 2011 09:39:33 +0000
(09:39 +0000)
committer
adam
<adam>
Fri, 4 Mar 2011 09:39:33 +0000
(09:39 +0000)
salome_adm/cmake_files/am2cmake.py
patch
|
blob
|
history
diff --git
a/salome_adm/cmake_files/am2cmake.py
b/salome_adm/cmake_files/am2cmake.py
index f28fe8afc32f4c37ee5f46ecf4c1f7f78c440a4c..6620e5fed356fc2880a23eddb9a9aa7721b3674b 100644
(file)
--- a/
salome_adm/cmake_files/am2cmake.py
+++ b/
salome_adm/cmake_files/am2cmake.py
@@
-466,6
+466,10
@@
class CMakeFile(object):
ENABLE_TESTING()
""")
# --
+ newlines.append("""
+ SET(MODULE %s)
+ """%(self.module.upper()))
+ # --
if self.module == "kernel":
newlines.append("""
INCLUDE(${CMAKE_SOURCE_DIR}/salome_adm/cmake_files/FindPLATFORM.cmake)