"Fossies" - the Fresh Open Source Software Archive

Member "gvm-libs-11.0.1/tests/CMakeLists.txt" (12 May 2020, 1097 Bytes) of package /linux/misc/openvas/gvm-libs-11.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": 1.0-beta2_vs_1.0.0.

    1 # Copyright (C) 2017-2019 Greenbone Networks GmbH
    2 #
    3 # SPDX-License-Identifier: GPL-2.0-or-later
    4 #
    5 # This program is free software; you can redistribute it and/or
    6 # modify it under the terms of the GNU General Public License
    7 # as published by the Free Software Foundation; either version 2
    8 # of the License, or (at your option) any later version.
    9 #
   10 # This program is distributed in the hope that it will be useful,
   11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13 # GNU General Public License for more details.
   14 #
   15 # You should have received a copy of the GNU General Public License
   16 # along with this program; if not, write to the Free Software
   17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
   18 
   19 # test-hosts executable
   20 
   21 include_directories (${GLIB_INCLUDE_DIRS})
   22 
   23 if (BUILD_SHARED)
   24   add_executable (test-hosts test-hosts.c)
   25   set_target_properties (test-hosts PROPERTIES LINKER_LANGUAGE C)
   26   target_link_libraries (test-hosts ${LIBGVM_BASE_NAME} ${GLIB_LDFLAGS})
   27 endif (BUILD_SHARED)
   28 
   29 ## End