summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2012-06-19 20:07:21 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2012-06-20 17:07:28 (GMT)
commita1adb3a394f7d1d0a08406c9ad16909348e3e6c1 (patch)
treeeacc583b0083049218be40404bced8e8e984c836 /src/CMakeLists.txt
parent87a0cdd2f5b0d27badac3e5055b8d6fbabd924c9 (diff)
downloadlibkolabxml-a1adb3a394f7d1d0a08406c9ad16909348e3e6c1.tar.gz
Moved containers to subdirectory.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt33
1 files changed, 23 insertions, 10 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2f635d6..a203450 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -5,7 +5,20 @@ SET_SOURCE_FILES_PROPERTIES(${SCHEMA_SOURCEFILES} PROPERTIES GENERATED 1)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2" ) #always generate shared libraries with -fPIC, -D_FORTIFY_SOURCE=2 enables some extra checking
# Library with serialization/deserialization code and kolab-containers
-add_library(kolabxml SHARED kolabformat.cpp kolabcontainers.cpp kolabnote.cpp kolabevent.cpp kolabtodo.cpp kolabjournal.cpp kolabcontact.cpp kolabconfiguration.cpp utils.cpp base64.cpp ../compiled/XMLParserWrapper.cpp ../compiled/grammar-input-stream.cxx ${SCHEMA_SOURCEFILES})
+add_library(kolabxml SHARED
+ kolabformat.cpp
+ containers/kolabcontainers.cpp
+ containers/kolabnote.cpp
+ containers/kolabevent.cpp
+ containers/kolabtodo.cpp
+ containers/kolabjournal.cpp
+ containers/kolabcontact.cpp
+ containers/kolabconfiguration.cpp
+ utils.cpp base64.cpp
+ ../compiled/XMLParserWrapper.cpp
+ ../compiled/grammar-input-stream.cxx
+ ${SCHEMA_SOURCEFILES}
+)
add_dependencies(kolabxml generate_bindings)
target_link_libraries(kolabxml ${XERCES_C} ${Boost_LIBRARIES} ${UUID})
@@ -30,15 +43,15 @@ install(TARGETS kolabxml EXPORT LibkolabxmlExport
install( FILES
kolabformat.h
- kolabevent.h
- kolabevent_p.h
- incidence_p.h
- kolabtodo.h
- kolabjournal.h
- kolabcontact.h
- kolabnote.h
- kolabcontainers.h
- kolabconfiguration.h
+ containers/kolabevent.h
+ containers/kolabevent_p.h
+ containers/incidence_p.h
+ containers/kolabtodo.h
+ containers/kolabjournal.h
+ containers/kolabcontact.h
+ containers/kolabnote.h
+ containers/kolabcontainers.h
+ containers/kolabconfiguration.h
global_definitions.h
DESTINATION ${INCLUDE_INSTALL_DIR})