From: DUC ANH HOANG Date: Thu, 12 Sep 2024 09:00:44 +0000 (+0200) Subject: SALOME_HOMARD is goog now X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=29672c2790c5cfa69634d986dc0da940077a0a59;p=modules%2Fhomard.git SALOME_HOMARD is goog now --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c27194d5..0002cb18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,12 +40,14 @@ ENDIF() SALOME_SETUP_VERSION(9.12.0) MESSAGE(STATUS "Building ${PROJECT_NAME_UC} ${${PROJECT_NAME_UC}_VERSION} from \"${${PROJECT_NAME_UC}_GIT_SHA1}\"") +FIND_PACKAGE(SalomeBoost REQUIRED) # Find KERNEL # =========== SET(KERNEL_ROOT_DIR $ENV{KERNEL_ROOT_DIR} CACHE PATH "Path to the Salome KERNEL") IF(EXISTS ${KERNEL_ROOT_DIR}) FIND_PACKAGE(SalomeKERNEL REQUIRED) KERNEL_WITH_CORBA() # check whether KERNEL builded with CORBA + INCLUDE_DIRECTORIES(${KERNEL_INCLUDE_DIRS}) ELSE(EXISTS ${KERNEL_ROOT_DIR}) MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR") ENDIF(EXISTS ${KERNEL_ROOT_DIR}) diff --git a/src/FrontTrack/CMakeLists.txt b/src/FrontTrack/CMakeLists.txt index 24f77e4a..732bab01 100644 --- a/src/FrontTrack/CMakeLists.txt +++ b/src/FrontTrack/CMakeLists.txt @@ -30,6 +30,7 @@ INCLUDE_DIRECTORIES( # additional preprocessor / compiler flags ADD_DEFINITIONS( ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} ) IF(FRONTTRACK_USE_TBB) @@ -44,6 +45,7 @@ SET(_link_LIBRARIES ${GEOM_XAO} ${MEDCoupling_medloader} ${TBB_LIBS} + ${Boost_LIBRARIES} ) # --- headers --- diff --git a/src/HOMARD/HOMARD_Boundary.cxx b/src/HOMARD/HOMARD_Boundary.cxx index 57230415..eb431c4b 100644 --- a/src/HOMARD/HOMARD_Boundary.cxx +++ b/src/HOMARD/HOMARD_Boundary.cxx @@ -34,7 +34,6 @@ #include "HOMARD_Boundary.hxx" #include "HOMARD.hxx" #include "utilities.h" -#include //============================================================================= /*! diff --git a/src/HOMARD/HOMARD_Cas.cxx b/src/HOMARD/HOMARD_Cas.cxx index 430506a9..4b67d08c 100644 --- a/src/HOMARD/HOMARD_Cas.cxx +++ b/src/HOMARD/HOMARD_Cas.cxx @@ -35,7 +35,6 @@ #include "utilities.h" #include "HOMARD.hxx" #include -#include #include #ifndef WIN32 diff --git a/src/HOMARD/HOMARD_Hypothesis.cxx b/src/HOMARD/HOMARD_Hypothesis.cxx index b2dffe98..57dcb3e3 100644 --- a/src/HOMARD/HOMARD_Hypothesis.cxx +++ b/src/HOMARD/HOMARD_Hypothesis.cxx @@ -34,7 +34,6 @@ #include "HOMARD_Hypothesis.hxx" #include "HOMARD.hxx" #include "utilities.h" -#include //============================================================================= /*! diff --git a/src/HOMARD/HOMARD_Iteration.cxx b/src/HOMARD/HOMARD_Iteration.cxx index f1863ff1..0101bd91 100644 --- a/src/HOMARD/HOMARD_Iteration.cxx +++ b/src/HOMARD/HOMARD_Iteration.cxx @@ -34,7 +34,6 @@ #include "HOMARD_Iteration.hxx" #include "HOMARD.hxx" #include "utilities.h" -#include //============================================================================= /*! diff --git a/src/HOMARD/HOMARD_YACS.cxx b/src/HOMARD/HOMARD_YACS.cxx index dae4f37b..a124cb1e 100644 --- a/src/HOMARD/HOMARD_YACS.cxx +++ b/src/HOMARD/HOMARD_YACS.cxx @@ -33,7 +33,6 @@ #include "HOMARD_YACS.hxx" #include "utilities.h" -#include //============================================================================= /*! diff --git a/src/HOMARD/HOMARD_Zone.cxx b/src/HOMARD/HOMARD_Zone.cxx index 5dfac337..556c770c 100644 --- a/src/HOMARD/HOMARD_Zone.cxx +++ b/src/HOMARD/HOMARD_Zone.cxx @@ -34,7 +34,6 @@ #include "HOMARD_Zone.hxx" #include "HOMARD.hxx" #include "utilities.h" -#include //============================================================================= /*! diff --git a/src/HOMARD_I/CMakeLists.txt b/src/HOMARD_I/CMakeLists.txt index 09b0880b..8a2355aa 100644 --- a/src/HOMARD_I/CMakeLists.txt +++ b/src/HOMARD_I/CMakeLists.txt @@ -37,6 +37,7 @@ INCLUDE_DIRECTORIES( # additional preprocessor / compiler flags ADD_DEFINITIONS( ${OMNIORB_DEFINITIONS} + ${BOOST_DEFINITIONS} ) # libraries to link to @@ -54,6 +55,7 @@ SET(_link_LIBRARIES FrontTrack SalomeIDLHOMARD HOMARDImpl + ${Boost_LIBRARIES} ) # --- headers --- diff --git a/src/tool/CMakeLists.txt b/src/tool/CMakeLists.txt index 675db2f0..24fa6c3e 100644 --- a/src/tool/CMakeLists.txt +++ b/src/tool/CMakeLists.txt @@ -75,7 +75,7 @@ FILE(GLOB _f_sources LIST_DIRECTORIES false ${CMAKE_CURRENT_SOURCE_DIR}/${_DMF}/ INCLUDE_DIRECTORIES(Includes_Generaux ${CMAKE_CURRENT_SOURCE_DIR}) ADD_LIBRARY (${_DMF} STATIC ${_f_sources}) -TARGET_LINK_LIBRARIES(${_DMF} ${_DMC}) +#TARGET_LINK_LIBRARIES(${_DMF} ${_DMC}) FOREACH(_HT_lib ${_HT_libs}) HT_BUILD_LIBRARY(${_HT_lib}) diff --git a/src/tool/Dependance_Machine/dmport.h b/src/tool/Dependance_Machine/dmport.h index ec18009f..5929847a 100644 --- a/src/tool/Dependance_Machine/dmport.h +++ b/src/tool/Dependance_Machine/dmport.h @@ -30,7 +30,7 @@ typedef long INTGR ; #define INTEGER_NB_CHIFFRES_SIGNIFICATIFS 19 #else -#warning "-------- passage par else de ifdef _USE_64_BITS --------" +#pragma message ( "-------- passage par else de ifdef _USE_64_BITS --------" ) typedef int INTGR ; #define INTEGER_NB_CHIFFRES_SIGNIFICATIFS 9 #endif