"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "base/CMakeLists.txt" between
gvm-libs-11.0.0.tar.gz and gvm-libs-11.0.1.tar.gz

About: GVM Libraries for the Greenbone Vulnerability Management (GVM-10) framework (derived from the former openvas-libraries).

CMakeLists.txt  (gvm-libs-11.0.0):CMakeLists.txt  (gvm-libs-11.0.1)
skipping to change at line 33 skipping to change at line 33
endif (NOT PKG_CONFIG_FOUND) endif (NOT PKG_CONFIG_FOUND)
## Dependency checks ## Dependency checks
pkg_check_modules (GLIB REQUIRED glib-2.0>=2.42) pkg_check_modules (GLIB REQUIRED glib-2.0>=2.42)
include_directories (${GLIB_INCLUDE_DIRS}) include_directories (${GLIB_INCLUDE_DIRS})
set (FILES array.c credentials.c cvss.c drop_privileges.c hosts.c logging.c set (FILES array.c credentials.c cvss.c drop_privileges.c hosts.c logging.c
networking.c nvti.c pidfile.c prefs.c proctitle.c pwpolicy.c networking.c nvti.c pidfile.c prefs.c proctitle.c pwpolicy.c
settings.c strings.c) settings.c strings.c version.c)
set (HEADERS array.h credentials.h cvss.h drop_privileges.h hosts.h logging.h set (HEADERS array.h credentials.h cvss.h drop_privileges.h hosts.h logging.h
networking.h nvti.h pidfile.h prefs.h proctitle.h pwpolicy.h networking.h nvti.h pidfile.h prefs.h proctitle.h pwpolicy.h
settings.h strings.h) settings.h strings.h version.h)
if (BUILD_STATIC) if (BUILD_STATIC)
set (LIBGVM_BASE_NAME gvm_base_static) set (LIBGVM_BASE_NAME gvm_base_static)
add_library (gvm_base_static STATIC ${FILES}) add_library (gvm_base_static STATIC ${FILES})
set_target_properties (gvm_base_static PROPERTIES OUTPUT_NAME "gvm_base") set_target_properties (gvm_base_static PROPERTIES OUTPUT_NAME "gvm_base")
set_target_properties (gvm_base_static PROPERTIES CLEAN_DIRECT_OUTPUT 1) set_target_properties (gvm_base_static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
set_target_properties (gvm_base_static PROPERTIES PUBLIC_HEADER "${HEADERS}") set_target_properties (gvm_base_static PROPERTIES PUBLIC_HEADER "${HEADERS}")
endif (BUILD_STATIC) endif (BUILD_STATIC)
if (BUILD_SHARED) if (BUILD_SHARED)
skipping to change at line 73 skipping to change at line 73
if (GVM_PID_DIR) if (GVM_PID_DIR)
add_definitions (-DGVM_PID_DIR="${GVM_PID_DIR}") add_definitions (-DGVM_PID_DIR="${GVM_PID_DIR}")
endif (GVM_PID_DIR) endif (GVM_PID_DIR)
if (GVM_SYSCONF_DIR) if (GVM_SYSCONF_DIR)
add_definitions (-DGVM_SYSCONF_DIR="${GVM_SYSCONF_DIR}") add_definitions (-DGVM_SYSCONF_DIR="${GVM_SYSCONF_DIR}")
endif (GVM_SYSCONF_DIR) endif (GVM_SYSCONF_DIR)
## Tests ## Tests
add_executable (array-test if (BUILD_TESTS)
EXCLUDE_FROM_ALL add_executable (array-test
array_tests.c) EXCLUDE_FROM_ALL
array_tests.c)
add_test (array-test array-test) add_test (array-test array-test)
target_link_libraries (array-test cgreen ${GLIB_LDFLAGS} ${LINKER_HARDENING_FLAG S}) target_include_directories (array-test PRIVATE ${CGREEN_INCLUDE_DIRS})
add_custom_target (tests target_link_libraries (array-test ${CGREEN_LIBRARIES} ${GLIB_LDFLAGS} ${LINKER
DEPENDS array-test) _HARDENING_FLAGS})
add_executable (version-test
EXCLUDE_FROM_ALL
version_tests.c)
add_test (version-test version-test)
target_include_directories (version-test PRIVATE ${CGREEN_INCLUDE_DIRS})
target_link_libraries (version-test ${CGREEN_LIBRARIES} ${GLIB_LDFLAGS} ${LINK
ER_HARDENING_FLAGS})
endif (BUILD_TESTS)
## Install ## Install
configure_file (libgvm_base.pc.in ${CMAKE_BINARY_DIR}/libgvm_base.pc @ONLY) configure_file (libgvm_base.pc.in ${CMAKE_BINARY_DIR}/libgvm_base.pc @ONLY)
install (DIRECTORY DESTINATION ${GVM_PID_DIR}) install (DIRECTORY DESTINATION ${GVM_PID_DIR})
install (FILES ${CMAKE_BINARY_DIR}/libgvm_base.pc install (FILES ${CMAKE_BINARY_DIR}/libgvm_base.pc
DESTINATION ${LIBDIR}/pkgconfig) DESTINATION ${LIBDIR}/pkgconfig)
 End of changes. 6 change blocks. 
9 lines changed or deleted 22 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)