]> source.dussan.org Git - rspamd.git/commitdiff
Forgot to add CMakeLists.txt
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 8 Aug 2013 13:11:57 +0000 (14:11 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 8 Aug 2013 13:11:57 +0000 (14:11 +0100)
.travis.yml
src/rcl/CMakeLists.txt [new file with mode: 0644]

index d5c634d4fc50f79e1281434f4e9c6549e0fd7903..b70870eac82a9b5abed60b05348d9affd77ef2af 100644 (file)
@@ -3,6 +3,12 @@ before_script:
   - sudo apt-get install -qq debhelper dpkg-dev cmake libevent-dev libglib2.0-dev libgmime-2.6-dev liblua5.1-0-dev libpcre3-dev cdbs libssl-dev libjudy-dev
   - cmake .
 
+script: make
+
+compiler:
+  - clang
+  - gcc
+
 branches:
   only:
     - master
diff --git a/src/rcl/CMakeLists.txt b/src/rcl/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d5a3624
--- /dev/null
@@ -0,0 +1,13 @@
+# Lua support makefile
+SET(RCLSRC                       rcl_util.c
+                                         rcl_parser.c
+                                         rcl_emitter.c)
+
+ADD_LIBRARY(rspamd-rcl ${LINK_TYPE} ${RCLSRC})
+SET_TARGET_PROPERTIES(rspamd-rcl PROPERTIES VERSION ${RSPAMD_VERSION})
+SET_TARGET_PROPERTIES(rspamd-rcl PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
+IF(NO_SHARED MATCHES "OFF")
+       INSTALL(TARGETS rspamd-rcl 
+       LIBRARY DESTINATION ${LIBDIR} 
+       PUBLIC_HEADER DESTINATION ${INCLUDEDIR})
+ENDIF(NO_SHARED MATCHES "OFF")
\ No newline at end of file