Revision: 75649
http://sourceforge.net/p/brlcad/code/75649
Author: brlcad
Date: 2020-04-30 05:23:19 +0000 (Thu, 30 Apr 2020)
Log Message:
-----------
simplify the include dirs to the ones actually in use, not the recursive ones
needed for standalone compilation
Modified Paths:
--------------
brlcad/trunk/regress/fuzz/CMakeLists.txt
Modified: brlcad/trunk/regress/fuzz/CMakeLists.txt
===================================================================
--- brlcad/trunk/regress/fuzz/CMakeLists.txt 2020-04-30 05:22:19 UTC (rev
75648)
+++ brlcad/trunk/regress/fuzz/CMakeLists.txt 2020-04-30 05:23:19 UTC (rev
75649)
@@ -1,17 +1,11 @@
-include_directories(${BU_INCLUDE_DIRS},
${CMAKE_CURRENT_SOURCE_DIR}/../../build/include/openNURBS "${ZLIB_INCLUDE_DIRS}"
- "${REGEX_INCLUDE_DIRS}")
+include_directories(
+ ${BU_INCLUDE_DIRS}
+ ${RT_INCLUDE_DIRS}
+ ${GED_INCLUDE_DIRS}
+ )
-
-# Not sure what this value should be
-#cmake_minimum_required (VERSION 3.10)
-
-# SETTING COMPILER DOES NOT WORK -- NEED TO COMPILE WITH CLANG
-#set(CMAKE_C_COMPILER "/usr/bin/clang")
-#set(CMAKE_CXX_COMPLER "/usr/bin/clang++")
-
project(fuzz)
-
add_executable(fuzz_test fuzz_ged.cpp)
target_compile_options(fuzz_test
PRIVATE $<$<C_COMPILER_ID:Clang>:-g -O1 -fsanitize=fuzzer>
@@ -21,7 +15,6 @@
PRIVATE $<$<C_COMPILER_ID:Clang>:-fsanitize=fuzzer>
)
-
configure_file(run.sh "${CMAKE_CURRENT_BINARY_DIR}/fuzz" COPYONLY)
install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/fuzz" DESTINATION ${BIN_DIR})
configure_file(run.sh ${CMAKE_BINARY_DIR}/bin/fuzz COPYONLY)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits