SalomePlatform / kernel

GNU Lesser General Public License v2.1
3 stars 0 forks source link

CONFIGURATION_ROOT_DIR #1

Open wrxhardworking opened 4 days ago

wrxhardworking commented 4 days ago
SET(CONFIGURATION_ROOT_DIR $ENV{CONFIGURATION_ROOT_DIR} CACHE PATH "Path to the Salome CMake configuration files")
IF(EXISTS ${CONFIGURATION_ROOT_DIR})
  LIST(APPEND CMAKE_MODULE_PATH "${CONFIGURATION_ROOT_DIR}/cmake")
  INCLUDE(SalomeMacros NO_POLICY_SCOPE)
  message("include SalomeMAcros")
ELSE()
  MESSAGE(FATAL_ERROR "We absolutely need the Salome CMake configuration files, please define CONFIGURATION_ROOT_DIR !")
ENDIF()

hey i am installing the salome-kenel module ,i meet some problem in cmake file : what is the CONFIGURATION_ROOT_DIR? where is the CONFIGURATION_ROOT_DIR?

nitawa commented 4 days ago

hi,

CONFIGURATION_ROOT_DIR is an environment variable which holds CONFIGURATION path. Note that SALOME compilation is eased if you use SAT

Regards.

wrxhardworking commented 1 day ago

hey thank y very much ,i will clone thih CONFIGURATION .did you open source it on GitHub recently? I couldn't find it on the official website before.