summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-12-18 17:48:06 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-12-18 17:48:06 +0300
commitc6e6ea88a2e03609b0be013d2df0de1c6062712f (patch)
tree7492bb4cb0d47466c900319fa040b0d428560431 /CMakeLists.txt
parent1b1bcd6966f47a2568acee011dd4b9f18195d765 (diff)
downloadrspamd-c6e6ea88a2e03609b0be013d2df0de1c6062712f.tar.gz
rspamd-c6e6ea88a2e03609b0be013d2df0de1c6062712f.zip
* Add limits support to each worker (max open files and max core size)
* Fix dependency on lex and yacc sources
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5d6678d67..cc652ee3b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -443,15 +443,18 @@ STRING(REPLACE "_file.l" "_lex.c" LEX_OUTPUT ${LEX_SRC})
############################ TARGETS SECTION ###############################
ADD_CUSTOM_COMMAND(OUTPUT ${LEX_OUTPUT}
- COMMAND ${LEX_EXECUTABLE} -o${LEX_OUTPUT} ${LEX_SRC})
+ COMMAND ${LEX_EXECUTABLE} -o${LEX_OUTPUT} ${LEX_SRC}
+ DEPENDS ${LEX_SRC})
ADD_CUSTOM_COMMAND(OUTPUT ${YACC_OUTPUT}
- COMMAND ${YACC_EXECUTABLE} -d -o ${YACC_OUTPUT} ${YACC_SRC})
+ COMMAND ${YACC_EXECUTABLE} -d -o ${YACC_OUTPUT} ${YACC_SRC}
+ DEPENDS ${YACC_SRC})
ADD_CUSTOM_COMMAND(OUTPUT src/modules.c
COMMAND ../utils/gen-modules.sh ${PLUGINSSRC}
WORKING_DIRECTORY src)
IF(PERL_EXECUTABLE)
ADD_CUSTOM_COMMAND(OUTPUT perl/Makefile
+ PRE_BUILD
COMMAND ${PERL_EXECUTABLE} ./Makefile.PL
WORKING_DIRECTORY perl)
CONFIGURE_FILE(perl/Makefile.PL.in perl/Makefile.PL)