FUCK I WROTE THE WRONG MESSAGE TO THE WRONG WONG
parent
a8b66a16ba
commit
ddc22c7ca1
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.20.2)
|
||||||
project(Assignment_1 C CXX)
|
project(Assignment_1 C CXX)
|
||||||
|
|
||||||
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
||||||
|
@ -45,7 +45,6 @@ target_compile_options(Assignment_1 PRIVATE -Wall -Wextra -Wpedantic -Wno-commen
|
||||||
target_link_options(Assignment_1 PRIVATE -Wall -Wextra -Wpedantic -Wno-comment)
|
target_link_options(Assignment_1 PRIVATE -Wall -Wextra -Wpedantic -Wno-comment)
|
||||||
target_link_libraries(Assignment_1 PUBLIC m)
|
target_link_libraries(Assignment_1 PUBLIC m)
|
||||||
target_link_libraries(Assignment_1 PUBLIC pthread)
|
target_link_libraries(Assignment_1 PUBLIC pthread)
|
||||||
target_link_libraries(Assignment_1 PUBLIC stdc++fs)
|
|
||||||
|
|
||||||
if (${ENABLE_ADDRSAN} MATCHES ON)
|
if (${ENABLE_ADDRSAN} MATCHES ON)
|
||||||
target_compile_options(Assignment_1 PRIVATE -fsanitize=address)
|
target_compile_options(Assignment_1 PRIVATE -fsanitize=address)
|
||||||
|
@ -73,7 +72,6 @@ target_link_libraries(Assignment_1_RUNNER PUBLIC pthread)
|
||||||
target_include_directories(Assignment_1_RUNNER PUBLIC RUNNER)
|
target_include_directories(Assignment_1_RUNNER PUBLIC RUNNER)
|
||||||
target_compile_options(Assignment_1_RUNNER PRIVATE -Wall -Wextra -Wpedantic -Wno-comment)
|
target_compile_options(Assignment_1_RUNNER PRIVATE -Wall -Wextra -Wpedantic -Wno-comment)
|
||||||
target_link_options(Assignment_1_RUNNER PRIVATE -Wall -Wextra -Wpedantic -Wno-comment)
|
target_link_options(Assignment_1_RUNNER PRIVATE -Wall -Wextra -Wpedantic -Wno-comment)
|
||||||
target_link_libraries(Assignment_1_RUNNER PUBLIC stdc++fs)
|
|
||||||
add_dependencies(Assignment_1_RUNNER Assignment_1)
|
add_dependencies(Assignment_1_RUNNER Assignment_1)
|
||||||
|
|
||||||
if (${ENABLE_ADDRSAN} MATCHES ON)
|
if (${ENABLE_ADDRSAN} MATCHES ON)
|
||||||
|
|
2
lib/blt
2
lib/blt
|
@ -1 +1 @@
|
||||||
Subproject commit fcf2a19ca160db1af053f77a1f35cb3bd998bfa5
|
Subproject commit 558ed1e0fdc147551d004891dda6dd3b24f61aa2
|
Loading…
Reference in New Issue