desactive cppunit on windows for all modules except med
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:
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":
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)