Alex 'AdUser' Z
9 years ago
3 changed files with 35 additions and 4 deletions
@ -1,3 +1,10 @@ |
|||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON) |
set(CMAKE_INCLUDE_CURRENT_DIR ON) |
||||||
|
set(BACKENDS "") |
||||||
|
|
||||||
add_library("f2b_b_exec" SHARED "exec.c") |
add_library("f2b_backend_exec" MODULE "exec.c") |
||||||
|
list(APPEND BACKENDS "f2b_backend_exec") |
||||||
|
|
||||||
|
message(STATUS "- Backends : ${BACKENDS}") |
||||||
|
|
||||||
|
install(TARGETS ${BACKENDS} |
||||||
|
LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/lib") |
||||||
|
@ -1,3 +1,10 @@ |
|||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON) |
set(CMAKE_INCLUDE_CURRENT_DIR ON) |
||||||
|
set(FILTERS "") |
||||||
|
|
||||||
add_library("f2b_f_preg" SHARED "preg.c") |
add_library("f2b_filter_preg" MODULE "preg.c") |
||||||
|
list(APPEND FILTERS "f2b_filter_preg") |
||||||
|
|
||||||
|
message(STATUS "- Filters : ${FILTERS}") |
||||||
|
|
||||||
|
install(TARGETS ${FILTERS} |
||||||
|
LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/lib") |
||||||
|
Loading…
Reference in new issue