mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-03 20:40:32 +05:00
Debug of CMake build procedure
This commit is contained in:
parent
afed1e3409
commit
e3e68f1be2
@ -41,14 +41,11 @@ IF(EXISTS ${KERNEL_ROOT_DIR})
|
|||||||
LIST(APPEND CMAKE_MODULE_PATH "${KERNEL_ROOT_DIR}/salome_adm/cmake_files")
|
LIST(APPEND CMAKE_MODULE_PATH "${KERNEL_ROOT_DIR}/salome_adm/cmake_files")
|
||||||
INCLUDE(SalomeMacros)
|
INCLUDE(SalomeMacros)
|
||||||
FIND_PACKAGE(SalomeKERNEL REQUIRED)
|
FIND_PACKAGE(SalomeKERNEL REQUIRED)
|
||||||
|
KERNEL_WITH_CORBA() #check whether KERNEL builded with CORBA
|
||||||
ELSE(EXISTS ${KERNEL_ROOT_DIR})
|
ELSE(EXISTS ${KERNEL_ROOT_DIR})
|
||||||
MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR")
|
MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR")
|
||||||
ENDIF(EXISTS ${KERNEL_ROOT_DIR})
|
ENDIF(EXISTS ${KERNEL_ROOT_DIR})
|
||||||
|
|
||||||
IF(SALOME_LIGHT_ONLY)
|
|
||||||
MESSAGE(FATAL_ERROR "SMESH module can't be built in Light mode (without CORBA)")
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
# Platform setup
|
# Platform setup
|
||||||
# ==============
|
# ==============
|
||||||
INCLUDE(SalomeSetupPlatform) # From KERNEL
|
INCLUDE(SalomeSetupPlatform) # From KERNEL
|
||||||
@ -125,7 +122,7 @@ IF(SALOME_BUILD_GUI)
|
|||||||
IF(EXISTS ${GUI_ROOT_DIR})
|
IF(EXISTS ${GUI_ROOT_DIR})
|
||||||
LIST(APPEND CMAKE_MODULE_PATH "${GUI_ROOT_DIR}/adm_local/cmake_files")
|
LIST(APPEND CMAKE_MODULE_PATH "${GUI_ROOT_DIR}/adm_local/cmake_files")
|
||||||
FIND_PACKAGE(SalomeGUI)
|
FIND_PACKAGE(SalomeGUI)
|
||||||
|
FULL_GUI(TRUE) #check whether GUI builded in full mode and with CORBA
|
||||||
##
|
##
|
||||||
## Prerequisites From GUI:
|
## Prerequisites From GUI:
|
||||||
##
|
##
|
||||||
|
Loading…
Reference in New Issue
Block a user