Salome HOME
updated copyright message
[modules/kernel.git] / idl / CMakeLists.txt
old mode 100755 (executable)
new mode 100644 (file)
index 813ec82..43cd37e
@@ -1,9 +1,9 @@
-# Copyright (C) 2012-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2023  CEA, EDF, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -17,7 +17,7 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-INCLUDE(${PROJECT_SOURCE_DIR}/salome_adm/cmake_files/UseOmniORB.cmake)
+INCLUDE(${CONFIGURATION_ROOT_DIR}/cmake/UseOmniORB.cmake)
 
 INCLUDE_DIRECTORIES(
   ${OMNIORB_INCLUDE_DIR}
@@ -36,6 +36,7 @@ SET(SalomeIDLKernel_IDLSOURCES
   SALOMEDS_Attributes.idl
   SALOME_Component.idl
   SALOME_ContainerManager.idl
+  SALOME_SDS.idl
   SALOME_Registry.idl
   Logger.idl
   SALOME_GenericObj.idl
@@ -52,6 +53,9 @@ SET(SalomeIDLKernel_IDLSOURCES
   SALOME_MPIObject.idl
   SALOME_TestComponent.idl
   SALOME_TestModuleCatalog.idl
+  SALOME_CommonTypes.idl
+  SALOME_ExternalServerLauncher.idl
+  SALOME_Embedded_NamingService.idl
   ${CMAKE_CURRENT_BINARY_DIR}/Calcium_Ports.idl
 )
 
@@ -66,12 +70,12 @@ SET(IDL_INCLUDE_DIRS
 
 SET(COMMON_FLAGS ${OMNIORB_DEFINITIONS})
 SET(TYPE)
-IF(WINDOWS)
+IF(WIN32)
   SET(COMMON_FLAGS "${COMMON_FLAGS} -DNOGDI")
   SET(TYPE STATIC)
-ELSE(WINDOWS)
+ELSE(WIN32)
   SET(TYPE SHARED)
-ENDIF(WINDOWS)
+ENDIF(WIN32)
 
 OMNIORB_ADD_MODULE(SalomeIDLKernel "${SalomeIDLKernel_IDLSOURCES}" "${IDL_INCLUDE_DIRS}")
 ADD_DEFINITIONS(${COMMON_FLAGS})