Files
cppipe/config.h
T
2024-05-17 19:02:56 +03:00

26 lines
602 B
C

// C compiler
const char* CC = "gcc";
// C++ compiler
const char* CXX = "g++";
// You can read about gcc options by running "man gcc"
// Compiler options to use...
// ...when debugging
#define DEBUG_FLAGS "-g"
// ...when not debugging
#define RELEASE_FLAGS "-Ofast", "-s"
// ...for both C and C++
#define CPPFLAGS "--whole-program", "-march=native", "-Wall", "-Wextra", "-pipe"
// ...for C
#define CFLAGS CPPFLAGS
// ...for C++
// cppipe command functions use C++17
// Wparentheses is disabled on C++ because of the cppipe functions
#define CXXFLAGS CPPFLAGS, "-std=c++17", "-Wno-parentheses"