diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-08 14:11:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-08 14:11:57 +0100 |
commit | f8aa6d041639b6b374efd0789093bbdc10e5a8d4 (patch) | |
tree | cbadfd1dbc5fa536c2a699f2deb97767bce2b3ec | |
parent | 100f148081d685f24a1f1034726770a29dbbace6 (diff) | |
download | rspamd-f8aa6d041639b6b374efd0789093bbdc10e5a8d4.tar.gz rspamd-f8aa6d041639b6b374efd0789093bbdc10e5a8d4.zip |
Forgot to add CMakeLists.txt
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | src/rcl/CMakeLists.txt | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index d5c634d4f..b70870eac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 index 000000000..d5a362449 --- /dev/null +++ b/src/rcl/CMakeLists.txt @@ -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 |