X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FCMakeLists.txt;h=1be2129eda6bd0aa1a893354a57cdb5394800c6a;hb=e30796dab1aa68c01201b2b89d4292d3fcbbc4d4;hp=f4f98b9d791d9f8090ba6f387f8f2dff3d3710fd;hpb=1b6e67870beeeb667864eaff5b1bb9c1570b7259;p=modules%2Fshaper.git diff --git a/src/Config/CMakeLists.txt b/src/Config/CMakeLists.txt index f4f98b9d7..1be2129ed 100644 --- a/src/Config/CMakeLists.txt +++ b/src/Config/CMakeLists.txt @@ -1,17 +1,22 @@ INCLUDE(Common) INCLUDE(XMLProcessing) -INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Event) +INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Events) SET(PROJECT_HEADERS - Config.h + Config_def.h Config_FeatureMessage.h Config_XMLReader.h Config_ModuleReader.h Config_FeatureReader.h + Config_Keywords.h Config_WidgetAPI.h Config_WidgetReader.h Config_PointerMessage.h + Config_Common.h + Config_ValidatorMessage.h + Config_Prop.h + Config_PropManager.h ) SET(PROJECT_SOURCES @@ -22,21 +27,26 @@ SET(PROJECT_SOURCES Config_WidgetAPI.cpp Config_WidgetReader.cpp Config_PointerMessage.cpp + Config_Common.cpp + Config_ValidatorMessage.cpp + Config_Prop.cpp + Config_PropManager.cpp ) SET(XML_RESOURCES - plugin-PartSet.xml plugins.xml ) SET(PROJECT_LIBRARIES - Event + Events ${LIBXML2_LIBRARIES} ) SOURCE_GROUP ("Resource Files" FILES ${XML_RESOURCES}) -ADD_DEFINITIONS(-DCONFIG_EXPORTS) +ADD_DEFINITIONS(-DCONFIG_EXPORTS -D_SCL_SECURE_NO_WARNINGS) +# -D_SCL_SECURE_NO_WARNINGS - to disable warnings 4996 + ADD_LIBRARY(Config SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES}) TARGET_LINK_LIBRARIES(Config ${PROJECT_LIBRARIES})