]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
desactive doxygen with cmake
authoradam <adam>
Fri, 9 Oct 2009 14:33:49 +0000 (14:33 +0000)
committeradam <adam>
Fri, 9 Oct 2009 14:33:49 +0000 (14:33 +0000)
desactive cppunit on windows for all modules except med

salome_adm/cmake_files/am2cmake.py

index c4c8faf1627361b3c563462d37b900b77156dc40..b3396d60abe23789cc50ac9cb61c8949e6606233 100644 (file)
@@ -441,7 +441,6 @@ class CMakeFile(object):
                 INCLUDE(${CMAKE_SOURCE_DIR}/salome_adm/cmake_files/FindSWIG.cmake)
                 INCLUDE(${CMAKE_SOURCE_DIR}/salome_adm/cmake_files/FindCPPUNIT.cmake)
                 INCLUDE(${CMAKE_SOURCE_DIR}/salome_adm/cmake_files/FindDOXYGEN.cmake)
-                SET(DOXYGEN_IS_OK 0)
                 """)
                 pass
             else:
@@ -457,7 +456,6 @@ class CMakeFile(object):
                 INCLUDE(${KERNEL_ROOT_DIR}/salome_adm/cmake_files/FindSWIG.cmake)
                 INCLUDE(${KERNEL_ROOT_DIR}/salome_adm/cmake_files/FindCPPUNIT.cmake)
                 INCLUDE(${KERNEL_ROOT_DIR}/salome_adm/cmake_files/FindDOXYGEN.cmake)
-                SET(DOXYGEN_IS_OK 0)
                 INCLUDE(${KERNEL_ROOT_DIR}/salome_adm/cmake_files/FindKERNEL.cmake)
                 """)
                 if self.module == "gui":
@@ -551,6 +549,17 @@ class CMakeFile(object):
                     pass
                 pass
             # --
+            newlines.append("""
+            SET(DOXYGEN_IS_OK 0)
+            """)
+            if self.module not in ['med']:
+                newlines.append("""
+                IF(WINDOWS)
+                SET(CPPUNIT_IS_OK 0)
+                ENDIF(WINDOWS)
+                """)
+                pass
+            # --
             if self.module == "kernel":
                 newlines.append("""
                 SET(WITH_LOCAL 1)