-# Copyright (C) 2012-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2016 CEA/DEN, EDF R&D, 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
# 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}
${CMAKE_CURRENT_BINARY_DIR}
)
-CONFIGURE_FILE(Calcium_Ports.idl.in Calcium_Ports.idl @ONLY)
+SALOME_CONFIGURE_FILE(Calcium_Ports.idl.in Calcium_Ports.idl)
SET(SalomeIDLKernel_IDLSOURCES
SALOME_Exception.idl
SALOMEDS_Attributes.idl
SALOME_Component.idl
SALOME_ContainerManager.idl
+ SALOME_SDS.idl
SALOME_Registry.idl
Logger.idl
SALOME_GenericObj.idl
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})