"Fossies" - the Fresh Open Source Software Archive  

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

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

CMakeLists.txt  (gvm-libs-10.0.1):CMakeLists.txt  (gvm-libs-11.0.0)
skipping to change at line 24 skipping to change at line 24
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
cmake_minimum_required(VERSION 3.0) cmake_minimum_required(VERSION 3.0)
message ("-- Configuring the Greenbone Vulnerability Management Libraries...") message ("-- Configuring the Greenbone Vulnerability Management Libraries...")
project (gvm-libs project (gvm-libs
VERSION 10.0.1 VERSION 11.0.0
LANGUAGES C) LANGUAGES C)
if (POLICY CMP0005) if (POLICY CMP0005)
cmake_policy (SET CMP0005 NEW) cmake_policy (SET CMP0005 NEW)
endif (POLICY CMP0005) endif (POLICY CMP0005)
if (NOT CMAKE_BUILD_TYPE) if (NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE Debug) set (CMAKE_BUILD_TYPE Debug)
endif (NOT CMAKE_BUILD_TYPE) endif (NOT CMAKE_BUILD_TYPE)
skipping to change at line 84 skipping to change at line 84
if (EXISTS "${CMAKE_SOURCE_DIR}/.git/") if (EXISTS "${CMAKE_SOURCE_DIR}/.git/")
if (GIT_FOUND) if (GIT_FOUND)
Git_GET_REVISION(${CMAKE_SOURCE_DIR} ProjectRevision) Git_GET_REVISION(${CMAKE_SOURCE_DIR} ProjectRevision)
set (GIT_REVISION "~git-${ProjectRevision}") set (GIT_REVISION "~git-${ProjectRevision}")
else (GIT_FOUND) else (GIT_FOUND)
set (GIT_REVISION "~git") set (GIT_REVISION "~git")
endif (GIT_FOUND) endif (GIT_FOUND)
endif (EXISTS "${CMAKE_SOURCE_DIR}/.git/") endif (EXISTS "${CMAKE_SOURCE_DIR}/.git/")
endif (NOT CMAKE_BUILD_TYPE MATCHES "Release") endif (NOT CMAKE_BUILD_TYPE MATCHES "Release")
# Set beta version if this is a beta release series,
# unset if this is a stable release series.
set (PROJECT_BETA_RELEASE 0)
if (GIT_REVISION) if (GIT_REVISION)
set (PROJECT_VERSION_GIT "${GIT_REVISION}") set (PROJECT_VERSION_GIT "${GIT_REVISION}")
endif (GIT_REVISION) endif (GIT_REVISION)
# If PROJECT_BETA_RELEASE is set, the version string will be set to: # If PROJECT_BETA_RELEASE is set, the version string will be set to:
# "major.minor+beta${PROJECT_BETA_RELEASE}" # "major.minor+beta${PROJECT_BETA_RELEASE}"
# If PROJECT_BETA_RELEASE is NOT set, the version string will be set to: # If PROJECT_BETA_RELEASE is NOT set, the version string will be set to:
# "major.minor.patch" # "major.minor.patch"
if (PROJECT_BETA_RELEASE) if (PROJECT_BETA_RELEASE)
set (PROJECT_VERSION_SUFFIX "+beta${PROJECT_BETA_RELEASE}") set (PROJECT_VERSION_SUFFIX "+beta${PROJECT_BETA_RELEASE}")
skipping to change at line 181 skipping to change at line 185
endif (NOT DATADIR) endif (NOT DATADIR)
if (NOT GVM_PID_DIR) if (NOT GVM_PID_DIR)
set (GVM_PID_DIR "${LOCALSTATEDIR}/run") set (GVM_PID_DIR "${LOCALSTATEDIR}/run")
endif (NOT GVM_PID_DIR) endif (NOT GVM_PID_DIR)
if (NOT GVM_SYSCONF_DIR) if (NOT GVM_SYSCONF_DIR)
set (GVM_SYSCONF_DIR "${SYSCONFDIR}/gvm") set (GVM_SYSCONF_DIR "${SYSCONFDIR}/gvm")
endif (NOT GVM_SYSCONF_DIR) endif (NOT GVM_SYSCONF_DIR)
if (NOT REDIS_SOCKET_PATH)
set (REDIS_SOCKET_PATH "/run/redis/redis.sock")
endif ()
add_definitions (-DREDIS_SOCKET_PATH="${REDIS_SOCKET_PATH}")
message ("-- Using redis socket ${REDIS_SOCKET_PATH}")
message ("-- Install prefix: ${CMAKE_INSTALL_PREFIX}") message ("-- Install prefix: ${CMAKE_INSTALL_PREFIX}")
if (ENABLE_COVERAGE) if (ENABLE_COVERAGE)
set (COVERAGE_FLAGS "--coverage") set (COVERAGE_FLAGS "--coverage")
endif (ENABLE_COVERAGE) endif (ENABLE_COVERAGE)
set (HARDENING_FLAGS "-Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-pro tector") set (HARDENING_FLAGS "-Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-pro tector")
set (LINKER_HARDENING_FLAGS "-Wl,-z,relro -Wl,-z,now") set (LINKER_HARDENING_FLAGS "-Wl,-z,relro -Wl,-z,now")
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wextra -Werror ${COVERAG E_FLAGS}") set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wextra -Werror ${COVERAG E_FLAGS}")
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${HARDENING_FLAGS}") set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${HARDENING_FLAGS}")
skipping to change at line 208 skipping to change at line 219
endif (PROJECT_BETA_RELEASE) endif (PROJECT_BETA_RELEASE)
set (GVMLIB_VERSION "${LIBGVMCONFIG_VERSION}") set (GVMLIB_VERSION "${LIBGVMCONFIG_VERSION}")
# Configure Doxyfile with version number # Configure Doxyfile with version number
configure_file (doc/Doxyfile.in ${CMAKE_BINARY_DIR}/doc/Doxyfile @ONLY) configure_file (doc/Doxyfile.in ${CMAKE_BINARY_DIR}/doc/Doxyfile @ONLY)
configure_file (doc/Doxyfile_full.in ${CMAKE_BINARY_DIR}/doc/Doxyfile_full @ONLY ) configure_file (doc/Doxyfile_full.in ${CMAKE_BINARY_DIR}/doc/Doxyfile_full @ONLY )
configure_file (doc/Doxyfile_xml.in ${CMAKE_BINARY_DIR}/doc/Doxyfile_xml @ONLY) configure_file (doc/Doxyfile_xml.in ${CMAKE_BINARY_DIR}/doc/Doxyfile_xml @ONLY)
configure_file (VERSION.in ${CMAKE_BINARY_DIR}/VERSION @ONLY) configure_file (VERSION.in ${CMAKE_BINARY_DIR}/VERSION @ONLY)
## Testing
enable_testing ()
## Program ## Program
if (NOT SKIP_SRC) if (NOT SKIP_SRC)
add_subdirectory (base) add_subdirectory (base)
add_subdirectory (util) add_subdirectory (util)
add_subdirectory (osp) add_subdirectory (osp)
add_subdirectory (gmp) add_subdirectory (gmp)
endif (NOT SKIP_SRC) endif (NOT SKIP_SRC)
## Documentation ## Documentation
 End of changes. 4 change blocks. 
1 lines changed or deleted 16 lines changed or added

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