[Openvas-commits] r3279 - in trunk/openvas-manager: . src/tests

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri May 8 15:48:30 CEST 2009


Author: mattm
Date: 2009-05-08 15:48:30 +0200 (Fri, 08 May 2009)
New Revision: 3279

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/tests/CMakeLists.txt
Log:
	* src/tests/CMakeLists.txt: Add SQLite linkage.  Move tests of support
	libraries before rest.  Order tests alphabetically.


Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-05-08 13:23:33 UTC (rev 3278)
+++ trunk/openvas-manager/ChangeLog	2009-05-08 13:48:30 UTC (rev 3279)
@@ -1,5 +1,10 @@
 2009-05-08  Matthew Mundell <matt at mundell.ukfsn.org>
 
+	* src/tests/CMakeLists.txt: Add SQLite linkage.  Move tests of support
+	libraries before rest.  Order tests alphabetically.
+
+2009-05-08  Matthew Mundell <matt at mundell.ukfsn.org>
+
 	* CMakeLists.txt: Add check for SQLite3 library.
 
 2009-05-08  Matthew Mundell <matt at mundell.ukfsn.org>

Modified: trunk/openvas-manager/src/tests/CMakeLists.txt
===================================================================
--- trunk/openvas-manager/src/tests/CMakeLists.txt	2009-05-08 13:23:33 UTC (rev 3278)
+++ trunk/openvas-manager/src/tests/CMakeLists.txt	2009-05-08 13:48:30 UTC (rev 3279)
@@ -24,6 +24,9 @@
 
 ## Config
 
+#set (OVAS_LDFLAG "-lgnutls")
+set (OVAS_LDFLAG "-lsqlite3 -lgnutls")
+
 exec_program (pkg-config
               ARGS --cflags glib-2.0
 			  OUTPUT_VARIABLE GLIB_CFLAGS)
@@ -37,7 +40,7 @@
 add_library (common common.c)
 set_target_properties (common PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
 
-## Programs
+## Tests of support libraries
 
 include_directories (${COMMON_SOURCE_DIRECTORY}/common)
 link_directories (${COMMON_BINARY_DIRECTORY}/string)
@@ -46,7 +49,7 @@
 add_executable (make_report_id_0 make_report_id_0.c)
 target_link_libraries (make_report_id_0 manage ovas-mngr-comm string file)
 set_target_properties (make_report_id_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (make_report_id_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS} -lossp-uuid")
+set_target_properties (make_report_id_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS} -lossp-uuid")
 ADD_TEST (make_report_id_0 make_report_id_0)
 
 add_executable (rmdir_recursively_0 rmdir_recursively_0.c)
@@ -61,249 +64,269 @@
 set_target_properties (rmdir_recursively_1 PROPERTIES LINK_FLAGS "${GLIB_LDFLAGS}")
 ADD_TEST (rmdir_recursively_1 rmdir_recursively_1)
 
+add_executable (report_path_task_name_0 report_path_task_name_0.c)
+target_link_libraries (report_path_task_name_0 manage ovas-mngr-comm string file)
+set_target_properties (report_path_task_name_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
+set_target_properties (report_path_task_name_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS} -lossp-uuid")
+ADD_TEST (report_path_task_name_0 report_path_task_name_0)
+
+add_executable (report_path_task_name_1 report_path_task_name_1.c)
+target_link_libraries (report_path_task_name_1 manage ovas-mngr-comm string file)
+set_target_properties (report_path_task_name_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
+set_target_properties (report_path_task_name_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS} -lossp-uuid")
+ADD_TEST (report_path_task_name_1 report_path_task_name_1)
+
+add_executable (report_path_task_name_2 report_path_task_name_2.c)
+target_link_libraries (report_path_task_name_2 manage ovas-mngr-comm string file)
+set_target_properties (report_path_task_name_2 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
+set_target_properties (report_path_task_name_2 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS} -lossp-uuid")
+ADD_TEST (report_path_task_name_2 report_path_task_name_2)
+
+add_executable (strip_space_0 strip_space_0.c)
+target_link_libraries (strip_space_0 string)
+set_target_properties (strip_space_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
+set_target_properties (strip_space_0 PROPERTIES LINK_FLAGS "${GLIB_LDFLAGS}")
+ADD_TEST (strip_space_0 strip_space_0)
+
+add_executable (strip_space_1 strip_space_1.c)
+target_link_libraries (strip_space_1 string)
+set_target_properties (strip_space_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
+set_target_properties (strip_space_1 PROPERTIES LINK_FLAGS "${GLIB_LDFLAGS}")
+ADD_TEST (strip_space_1 strip_space_1)
+
+add_executable (strip_space_2 strip_space_2.c)
+target_link_libraries (strip_space_2 string)
+set_target_properties (strip_space_2 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
+set_target_properties (strip_space_2 PROPERTIES LINK_FLAGS "${GLIB_LDFLAGS}")
+ADD_TEST (strip_space_2 strip_space_2)
+
+add_executable (strip_space_3 strip_space_3.c)
+target_link_libraries (strip_space_3 string)
+set_target_properties (strip_space_3 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
+set_target_properties (strip_space_3 PROPERTIES LINK_FLAGS "${GLIB_LDFLAGS}")
+ADD_TEST (strip_space_3 strip_space_3)
+
+## Tests of OMP
+
 add_executable (omp_abort_task_0 omp_abort_task_0.c)
 target_link_libraries (omp_abort_task_0 string)
 set_target_properties (omp_abort_task_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_abort_task_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_abort_task_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_abort_task_0 common)
 ADD_TEST (omp_abort_task_0 omp_abort_task_0)
 
+add_executable (omp_delete_report_0 omp_delete_report_0.c)
+target_link_libraries (omp_delete_report_0 string)
+set_target_properties (omp_delete_report_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
+set_target_properties (omp_delete_report_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
+target_link_libraries (omp_delete_report_0 common)
+ADD_TEST (omp_delete_report_0 omp_delete_report_0)
+
+add_executable (omp_delete_report_1 omp_delete_report_1.c)
+target_link_libraries (omp_delete_report_1 string)
+set_target_properties (omp_delete_report_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
+set_target_properties (omp_delete_report_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
+target_link_libraries (omp_delete_report_1 common)
+ADD_TEST (omp_delete_report_1 omp_delete_report_1)
+
 add_executable (omp_delete_task_0 omp_delete_task_0.c)
 target_link_libraries (omp_delete_task_0 string)
 set_target_properties (omp_delete_task_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_delete_task_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_delete_task_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_delete_task_0 common)
 ADD_TEST (omp_delete_task_0 omp_delete_task_0)
 
 add_executable (omp_delete_task_1 omp_delete_task_1.c)
 target_link_libraries (omp_delete_task_1 string)
 set_target_properties (omp_delete_task_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_delete_task_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_delete_task_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_delete_task_1 common)
 ADD_TEST (omp_delete_task_1 omp_delete_task_1)
 
 add_executable (omp_get_dependencies_0 omp_get_dependencies_0.c)
 target_link_libraries (omp_get_dependencies_0 string)
 set_target_properties (omp_get_dependencies_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_dependencies_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_dependencies_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_dependencies_0 common)
 ADD_TEST (omp_get_dependencies_0 omp_get_dependencies_0)
 
 add_executable (omp_get_dependencies_1 omp_get_dependencies_1.c)
 target_link_libraries (omp_get_dependencies_1 string)
 set_target_properties (omp_get_dependencies_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_dependencies_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_dependencies_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_dependencies_1 common)
 ADD_TEST (omp_get_dependencies_1 omp_get_dependencies_1)
 
 add_executable (omp_get_nvt_feed_all_0 omp_get_nvt_feed_all_0.c)
 target_link_libraries (omp_get_nvt_feed_all_0 string)
 set_target_properties (omp_get_nvt_feed_all_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_nvt_feed_all_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_nvt_feed_all_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_nvt_feed_all_0 common)
 ADD_TEST (omp_get_nvt_feed_all_0 omp_get_nvt_feed_all_0)
 
 add_executable (omp_get_nvt_feed_all_1 omp_get_nvt_feed_all_1.c)
 target_link_libraries (omp_get_nvt_feed_all_1 string)
 set_target_properties (omp_get_nvt_feed_all_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_nvt_feed_all_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_nvt_feed_all_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_nvt_feed_all_1 common)
 ADD_TEST (omp_get_nvt_feed_all_1 omp_get_nvt_feed_all_1)
 
 add_executable (omp_get_nvt_feed_checksum_0 omp_get_nvt_feed_checksum_0.c)
 target_link_libraries (omp_get_nvt_feed_checksum_0 string)
 set_target_properties (omp_get_nvt_feed_checksum_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_nvt_feed_checksum_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_nvt_feed_checksum_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_nvt_feed_checksum_0 common)
 ADD_TEST (omp_get_nvt_feed_checksum_0 omp_get_nvt_feed_checksum_0)
 
 add_executable (omp_get_nvt_feed_checksum_1 omp_get_nvt_feed_checksum_1.c)
 target_link_libraries (omp_get_nvt_feed_checksum_1 string)
 set_target_properties (omp_get_nvt_feed_checksum_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_nvt_feed_checksum_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_nvt_feed_checksum_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_nvt_feed_checksum_1 common)
 ADD_TEST (omp_get_nvt_feed_checksum_1 omp_get_nvt_feed_checksum_1)
 
 add_executable (omp_get_nvt_feed_details_0 omp_get_nvt_feed_details_0.c)
 target_link_libraries (omp_get_nvt_feed_details_0 string)
 set_target_properties (omp_get_nvt_feed_details_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_nvt_feed_details_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_nvt_feed_details_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_nvt_feed_details_0 common)
 ADD_TEST (omp_get_nvt_feed_details_0 omp_get_nvt_feed_details_0)
 
 add_executable (omp_get_nvt_feed_details_1 omp_get_nvt_feed_details_1.c)
 target_link_libraries (omp_get_nvt_feed_details_1 string)
 set_target_properties (omp_get_nvt_feed_details_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_nvt_feed_details_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_nvt_feed_details_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_nvt_feed_details_1 common)
 ADD_TEST (omp_get_nvt_feed_details_1 omp_get_nvt_feed_details_1)
 
 add_executable (omp_get_preferences_0 omp_get_preferences_0.c)
 target_link_libraries (omp_get_preferences_0 string)
 set_target_properties (omp_get_preferences_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_preferences_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_preferences_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_preferences_0 common)
 ADD_TEST (omp_get_preferences_0 omp_get_preferences_0)
 
 add_executable (omp_get_preferences_1 omp_get_preferences_1.c)
 target_link_libraries (omp_get_preferences_1 string)
 set_target_properties (omp_get_preferences_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_preferences_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_preferences_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_preferences_1 common)
 ADD_TEST (omp_get_preferences_1 omp_get_preferences_1)
 
-add_executable (omp_delete_report_0 omp_delete_report_0.c)
-target_link_libraries (omp_delete_report_0 string)
-set_target_properties (omp_delete_report_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_delete_report_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
-target_link_libraries (omp_delete_report_0 common)
-ADD_TEST (omp_delete_report_0 omp_delete_report_0)
-
-add_executable (omp_delete_report_1 omp_delete_report_1.c)
-target_link_libraries (omp_delete_report_1 string)
-set_target_properties (omp_delete_report_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_delete_report_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
-target_link_libraries (omp_delete_report_1 common)
-ADD_TEST (omp_delete_report_1 omp_delete_report_1)
-
 add_executable (omp_get_report_0 omp_get_report_0.c)
 target_link_libraries (omp_get_report_0 string)
 set_target_properties (omp_get_report_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_report_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_report_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_report_0 common)
 ADD_TEST (omp_get_report_0 omp_get_report_0)
 
 add_executable (omp_get_rules_0 omp_get_rules_0.c)
 target_link_libraries (omp_get_rules_0 string)
 set_target_properties (omp_get_rules_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_rules_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_rules_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_rules_0 common)
 ADD_TEST (omp_get_rules_0 omp_get_rules_0)
 
 add_executable (omp_get_rules_1 omp_get_rules_1.c)
 target_link_libraries (omp_get_rules_1 string)
 set_target_properties (omp_get_rules_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_get_rules_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_get_rules_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_get_rules_1 common)
 ADD_TEST (omp_get_rules_1 omp_get_rules_1)
 
 add_executable (omp_modify_report_0 omp_modify_report_0.c)
 target_link_libraries (omp_modify_report_0 string)
 set_target_properties (omp_modify_report_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_modify_report_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_modify_report_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_modify_report_0 common)
 ADD_TEST (omp_modify_report_0 omp_modify_report_0)
 
 add_executable (omp_modify_task_0 omp_modify_task_0.c)
 target_link_libraries (omp_modify_task_0 string)
 set_target_properties (omp_modify_task_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_modify_task_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_modify_task_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_modify_task_0 common)
 ADD_TEST (omp_modify_task_0 omp_modify_task_0)
 
 add_executable (omp_new_task_0 omp_new_task_0.c)
 target_link_libraries (omp_new_task_0 string)
 set_target_properties (omp_new_task_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_new_task_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_new_task_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_new_task_0 common)
 ADD_TEST (omp_new_task_0 omp_new_task_0)
 
 add_executable (omp_start_task_0 omp_start_task_0.c)
 target_link_libraries (omp_start_task_0 string)
 set_target_properties (omp_start_task_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_start_task_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_start_task_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_start_task_0 common)
 ADD_TEST (omp_start_task_0 omp_start_task_0)
 
 add_executable (omp_start_task_1 omp_start_task_1.c)
 target_link_libraries (omp_start_task_1 string)
 set_target_properties (omp_start_task_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_start_task_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_start_task_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_start_task_1 common)
 ADD_TEST (omp_start_task_1 omp_start_task_1)
 
 add_executable (omp_status_0 omp_status_0.c)
 target_link_libraries (omp_status_0 string)
 set_target_properties (omp_status_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_status_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_status_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_status_0 common)
 ADD_TEST (omp_status_0 omp_status_0)
 
 add_executable (omp_status_1 omp_status_1.c)
 target_link_libraries (omp_status_1 string)
 set_target_properties (omp_status_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_status_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_status_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_status_1 common)
 ADD_TEST (omp_status_1 omp_status_1)
 
 add_executable (omp_status_2 omp_status_2.c)
 target_link_libraries (omp_status_2 string)
 set_target_properties (omp_status_2 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_status_2 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_status_2 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_status_2 common)
 ADD_TEST (omp_status_2 omp_status_2)
 
 add_executable (omp_status_3 omp_status_3.c)
 target_link_libraries (omp_status_3 string)
 set_target_properties (omp_status_3 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_status_3 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_status_3 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_status_3 common)
 ADD_TEST (omp_status_3 omp_status_3)
 
 add_executable (omp_status_4 omp_status_4.c)
 target_link_libraries (omp_status_4 string)
 set_target_properties (omp_status_4 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_status_4 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_status_4 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_status_4 common)
 ADD_TEST (omp_status_4 omp_status_4)
 
 add_executable (omp_version_0 omp_version_0.c)
 target_link_libraries (omp_version_0 string)
 set_target_properties (omp_version_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (omp_version_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS}")
+set_target_properties (omp_version_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS}")
 target_link_libraries (omp_version_0 common)
 ADD_TEST (omp_version_0 omp_version_0)
 
 add_executable (report_path_task_name_0 report_path_task_name_0.c)
 target_link_libraries (report_path_task_name_0 manage ovas-mngr-comm string file)
 set_target_properties (report_path_task_name_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (report_path_task_name_0 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS} -lossp-uuid")
+set_target_properties (report_path_task_name_0 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS} -lossp-uuid")
 ADD_TEST (report_path_task_name_0 report_path_task_name_0)
 
 add_executable (report_path_task_name_1 report_path_task_name_1.c)
 target_link_libraries (report_path_task_name_1 manage ovas-mngr-comm string file)
 set_target_properties (report_path_task_name_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (report_path_task_name_1 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS} -lossp-uuid")
+set_target_properties (report_path_task_name_1 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS} -lossp-uuid")
 ADD_TEST (report_path_task_name_1 report_path_task_name_1)
 
 add_executable (report_path_task_name_2 report_path_task_name_2.c)
 target_link_libraries (report_path_task_name_2 manage ovas-mngr-comm string file)
 set_target_properties (report_path_task_name_2 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (report_path_task_name_2 PROPERTIES LINK_FLAGS "-lgnutls ${GLIB_LDFLAGS} -lossp-uuid")
+set_target_properties (report_path_task_name_2 PROPERTIES LINK_FLAGS "${OVAS_LDFLAG} ${GLIB_LDFLAGS} -lossp-uuid")
 ADD_TEST (report_path_task_name_2 report_path_task_name_2)
 
-add_executable (strip_space_0 strip_space_0.c)
-target_link_libraries (strip_space_0 string)
-set_target_properties (strip_space_0 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (strip_space_0 PROPERTIES LINK_FLAGS "${GLIB_LDFLAGS}")
-ADD_TEST (strip_space_0 strip_space_0)
-
-add_executable (strip_space_1 strip_space_1.c)
-target_link_libraries (strip_space_1 string)
-set_target_properties (strip_space_1 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (strip_space_1 PROPERTIES LINK_FLAGS "${GLIB_LDFLAGS}")
-ADD_TEST (strip_space_1 strip_space_1)
-
-add_executable (strip_space_2 strip_space_2.c)
-target_link_libraries (strip_space_2 string)
-set_target_properties (strip_space_2 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (strip_space_2 PROPERTIES LINK_FLAGS "${GLIB_LDFLAGS}")
-ADD_TEST (strip_space_2 strip_space_2)
-
-add_executable (strip_space_3 strip_space_3.c)
-target_link_libraries (strip_space_3 string)
-set_target_properties (strip_space_3 PROPERTIES COMPILE_FLAGS "-I .. ${GLIB_CFLAGS}")
-set_target_properties (strip_space_3 PROPERTIES LINK_FLAGS "${GLIB_LDFLAGS}")
-ADD_TEST (strip_space_3 strip_space_3)
-
 ## End



More information about the Openvas-commits mailing list