Salome HOME
The obligatory and concealment attribute's properties now registers in model by speci...
[modules/shaper.git] / src / Config / CMakeLists.txt
1 INCLUDE(Common)
2 INCLUDE(XMLProcessing)
3
4 INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/src/Events) 
5
6 SET(PROJECT_HEADERS
7   Config_def.h
8   Config_FeatureMessage.h
9   Config_XMLReader.h
10   Config_ModuleReader.h
11   Config_FeatureReader.h
12   Config_Keywords.h
13   Config_WidgetAPI.h
14   Config_WidgetReader.h
15   Config_PointerMessage.h
16   Config_Common.h
17   Config_ValidatorMessage.h
18   Config_Prop.h
19   Config_PropManager.h
20   Config_AttributeMessage.h
21  )
22  
23 SET(PROJECT_SOURCES
24   Config_FeatureMessage.cpp
25   Config_XMLReader.cpp
26   Config_ModuleReader.cpp
27   Config_FeatureReader.cpp
28   Config_WidgetAPI.cpp
29   Config_WidgetReader.cpp
30   Config_PointerMessage.cpp
31   Config_Common.cpp
32   Config_ValidatorMessage.cpp
33   Config_Prop.cpp
34   Config_PropManager.cpp
35   Config_AttributeMessage.cpp
36 )
37
38 SET(XML_RESOURCES
39   plugins.xml
40 )
41
42 SET(PROJECT_LIBRARIES
43     Events
44     ${LIBXML2_LIBRARIES}
45 )
46
47 SOURCE_GROUP ("Resource Files" FILES ${XML_RESOURCES})
48
49 ADD_DEFINITIONS(-DCONFIG_EXPORTS -D_SCL_SECURE_NO_WARNINGS) 
50 # -D_SCL_SECURE_NO_WARNINGS - to disable warnings 4996
51
52 ADD_LIBRARY(Config SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
53
54 TARGET_LINK_LIBRARIES(Config ${PROJECT_LIBRARIES})
55
56 INSTALL(TARGETS Config DESTINATION bin)
57 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)