diff --git a/CMakeLists.txt b/CMakeLists.txt index 35b5fcb..1327b8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,9 +5,16 @@ set(CMAKE_CXX_STANDARD 26) set(CMAKE_EXPORT_COMPILE_COMMANDS 1) add_compile_options(-fdiagnostics-color=always) +find_program(MOLD_LINKER mold) +if (MOLD_LINKER) + add_link_options(-fuse-ld=mold) +endif() + + if(CMAKE_BUILD_TYPE STREQUAL "Release") set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) add_compile_options(-O3 -march=native) + add_link_options(-s) endif() include(FetchContent) diff --git a/src/Helpers/CSVManager.hpp b/src/Helpers/CSVManager.hpp new file mode 100644 index 0000000..e69de29