]> SALOME platform Git repositories - modules/gde.git/blob - projects/GDE_API_CPP/api/src/CMakeLists.txt
Salome HOME
AttributesService
[modules/gde.git] / projects / GDE_API_CPP / api / src / CMakeLists.txt
1
2 INCLUDE_DIRECTORIES(
3   ${Poco_INCLUDE_DIRS}
4 )
5
6 LINK_DIRECTORIES(
7   ${Poco_LIBRARY_DIRS}
8   )
9
10 SET(_link_LIBRARIES
11 #  ${Poco_LIBRARIES} # all packages
12   PocoFoundation
13   PocoNet
14   PocoJSON
15 )
16
17 SET(gde_api_cpp_HEADERS
18   Attribute.hpp
19   AttributeGroup.hpp
20   AttributesService.hpp
21   CommandResultTO.hpp
22   CommandTO.hpp
23   Credentials.hpp
24   GDESession.hpp
25   Group.hpp
26   HttpConnection.hpp
27   JsonFormatter.hpp
28   Study.hpp
29   StudyService.hpp
30   User.hpp
31   UserService.hpp
32 )
33
34 SET(gde_api_cpp_SOURCES
35   Attribute.cpp
36   AttributesService.cpp
37   CommandResultTO.cpp
38   CommandTO.cpp
39   CommandTO.tpp
40   GDESession.cpp
41   HttpConnection.cpp
42   JsonFormatter.cpp
43   StudyService.cpp
44   UserService.cpp
45 )
46
47 ADD_LIBRARY(GdeApiCpp SHARED ${gde_api_cpp_SOURCES})
48 TARGET_LINK_LIBRARIES(GdeApiCpp ${_link_LIBRARIES} )
49 INSTALL(TARGETS GdeApiCpp EXPORT ${PROJECT_NAME}TargetGroup DESTINATION lib)
50
51 INSTALL(FILES ${gde_api_cpp_HEADERS} DESTINATION include)