Salome HOME
projects
/
plugins
/
hexoticplugin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CMake:
[plugins/hexoticplugin.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 8c810e713253a906987c3cc19e62c7aae20da62e..af063ce4acccb3697483d4dfe9c089505b20582a 100755
(executable)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-58,11
+58,14
@@
SET(BUILD_SHARED_LIBS TRUE)
LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/adm_local/cmake_files")
# User options
LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/adm_local/cmake_files")
# User options
-# (some options have already been defined in KERNEL)
# ============
# ============
-#OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON) #for use in the future
+OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON)
OPTION(SALOME_BUILD_DOC "Generate SALOME HexoticPLUGIN documentation" ON)
OPTION(SALOME_BUILD_DOC "Generate SALOME HexoticPLUGIN documentation" ON)
+IF(SALOME_BUILD_TESTS)
+ ENABLE_TESTING()
+ENDIF()
+
# Advanced options:
OPTION(SALOME_BUILD_GUI "Enable HexoticPLUGIN GUI" ON)
MARK_AS_ADVANCED(SALOME_BUILD_GUI)
# Advanced options:
OPTION(SALOME_BUILD_GUI "Enable HexoticPLUGIN GUI" ON)
MARK_AS_ADVANCED(SALOME_BUILD_GUI)