fs hack 3

main
Brett 2023-10-26 20:10:27 -04:00
parent 4547682221
commit 7d0fdd3899
4 changed files with 7 additions and 6 deletions

View File

@ -25,6 +25,7 @@ file(GLOB_RECURSE PROJECT_BUILD_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
add_executable(insane_dns ${PROJECT_BUILD_FILES})
target_link_libraries(insane_dns BLT)
target_link_libraries(insane_dns stdc++fs)
if(THREADS_HAVE_PTHREAD_ARG)
# annoying hack for asio on sandcastle
@ -36,8 +37,8 @@ if(CMAKE_THREAD_LIBS_INIT)
endif()
target_compile_options(insane_dns PRIVATE -Wall -Werror -Wpedantic -Wno-comment -Wno-format -lstdc++fs)
target_link_options(insane_dns PRIVATE -Wall -Werror -Wpedantic -Wno-comment -Wno-format -lstdc++fs)
target_compile_options(insane_dns PRIVATE -Wall -Werror -Wpedantic -Wno-comment -Wno-format)
target_link_options(insane_dns PRIVATE -Wall -Werror -Wpedantic -Wno-comment -Wno-format)
if (${ENABLE_ADDRSAN} MATCHES ON)
target_compile_options(${PROJECT_NAME} PRIVATE -fsanitize=address)

View File

@ -4,7 +4,7 @@
6 7971 1698364337761617291 CMakeFiles/insane_dns.dir/src/main.cpp.o 727da43cdbc82421
9 4845 1698364334645696379 libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler_v2.cpp.o 4f10bd0279063873
9 3821 1698364333617722522 libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o 66984105eaba6834
0 51 1698364581463958633 build.ninja 6eaded2198e1472a
0 51 1698365416171227573 build.ninja 6eaded2198e1472a
5 2141 1698249270784916812 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/format.cpp.o 9a4151eb8a13165e
10 4201 1698364333993712955 libraries/BLT/CMakeFiles/BLT.dir/src/blt/parse/argparse.cpp.o 30865d3aadfb703
4845 5354 1698364335125684180 libraries/BLT/libBLT.a f5b601d9b774b003

View File

@ -1,3 +1,3 @@
Start testing: Oct 26 19:56 EDT
Start testing: Oct 26 20:10 EDT
----------------------------------------------------------
End testing: Oct 26 19:56 EDT
End testing: Oct 26 20:10 EDT

View File

@ -67,7 +67,7 @@ build CMakeFiles/insane_dns.dir/src/main.cpp.o: CXX_COMPILER__insane_dns_Debug /
build insane_dns: CXX_EXECUTABLE_LINKER__insane_dns_Debug CMakeFiles/insane_dns.dir/src/main.cpp.o | libraries/BLT/libBLT.a /usr/lib/x86_64-linux-gnu/libz.so || libraries/BLT/libBLT.a
FLAGS = -g
LINK_FLAGS = -rdynamic -Wall -Werror -Wpedantic -Wno-comment -Wno-format -fsanitize=address
LINK_LIBRARIES = libraries/BLT/libBLT.a /usr/lib/x86_64-linux-gnu/libz.so
LINK_LIBRARIES = libraries/BLT/libBLT.a -lstdc++fs /usr/lib/x86_64-linux-gnu/libz.so
OBJECT_DIR = CMakeFiles/insane_dns.dir
POST_BUILD = :
PRE_LINK = :