Salome HOME
Visualization preferences for sketcher are created
[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  )
21  
22 SET(PROJECT_SOURCES
23   Config_FeatureMessage.cpp
24   Config_XMLReader.cpp
25   Config_ModuleReader.cpp
26   Config_FeatureReader.cpp
27   Config_WidgetAPI.cpp
28   Config_WidgetReader.cpp
29   Config_PointerMessage.cpp
30   Config_Common.cpp
31   Config_ValidatorMessage.cpp
32   Config_PropManager.cpp
33 )
34
35 SET(XML_RESOURCES
36   plugins.xml
37 )
38
39 SET(PROJECT_LIBRARIES
40     Events
41     ${LIBXML2_LIBRARIES}
42 )
43
44 SOURCE_GROUP ("Resource Files" FILES ${XML_RESOURCES})
45
46 ADD_DEFINITIONS(-DCONFIG_EXPORTS)
47 ADD_LIBRARY(Config SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
48
49 TARGET_LINK_LIBRARIES(Config ${PROJECT_LIBRARIES})
50
51 INSTALL(TARGETS Config DESTINATION bin)
52 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)