"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "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 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 11.0.0 VERSION 11.0.1
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)
OPTION(BUILD_STATIC "Build static versions of the libraries" OFF) OPTION(BUILD_STATIC "Build static versions of the libraries" OFF)
OPTION(ENABLE_COVERAGE "Enable support for coverage analysis" OFF) OPTION(ENABLE_COVERAGE "Enable support for coverage analysis" OFF)
OPTION(BUILD_TESTS "Build tests for the libraries" OFF)
if (NOT BUILD_STATIC) if (NOT BUILD_STATIC)
set (BUILD_SHARED ON) set (BUILD_SHARED ON)
else (NOT BUILD_STATIC) else (NOT BUILD_STATIC)
set (BUILD_SHARED OFF) set (BUILD_SHARED OFF)
endif (NOT BUILD_STATIC) endif (NOT BUILD_STATIC)
## Retrieve git revision (at configure time) ## Retrieve git revision (at configure time)
find_package (Git) find_package (Git)
skipping to change at line 211 skipping to change at line 212
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${HARDENING_FLAGS}") set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${HARDENING_FLAGS}")
## Version ## Version
if (PROJECT_BETA_RELEASE) if (PROJECT_BETA_RELEASE)
set (LIBGVMCONFIG_VERSION "${PROJECT_VERSION}") set (LIBGVMCONFIG_VERSION "${PROJECT_VERSION}")
else (PROJECT_BETA_RELEASE) else (PROJECT_BETA_RELEASE)
set (LIBGVMCONFIG_VERSION "${PROJECT_VERSION_STRING}") set (LIBGVMCONFIG_VERSION "${PROJECT_VERSION_STRING}")
endif (PROJECT_BETA_RELEASE) endif (PROJECT_BETA_RELEASE)
set (GVMLIB_VERSION "${LIBGVMCONFIG_VERSION}") add_definitions(-DGVM_LIBS_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 ## Testing
enable_testing () if (BUILD_TESTS AND NOT SKIP_SRC)
enable_testing ()
find_package (cgreen REQUIRED)
add_custom_target (tests
DEPENDS array-test xmlutils-test version-test)
endif (BUILD_TESTS AND NOT SKIP_SRC)
## 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
add_subdirectory (doc) add_subdirectory (doc)
## Tests if (BUILD_TESTS AND NOT SKIP_SRC)
add_subdirectory (tests)
add_subdirectory (tests) add_test (NAME testhosts COMMAND test-hosts localhost)
add_test (NAME testhosts COMMAND test-hosts localhost) endif (BUILD_TESTS AND NOT SKIP_SRC)
enable_testing ()
## End ## End
 End of changes. 5 change blocks. 
9 lines changed or deleted 16 lines changed or added

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