release/debug info in -v
This commit is contained in:
@@ -14,7 +14,7 @@ set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
||||
# otool -lV build/ml | grep stack
|
||||
|
||||
# set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
|
||||
|
||||
include_directories(/usr/local/opt/openssl/include ${CMAKE_SOURCE_DIR}/clib ${CMAKE_SOURCE_DIR})
|
||||
|
||||
|
||||
6
ml.h
6
ml.h
@@ -6,7 +6,11 @@
|
||||
#include <sstream>
|
||||
#include <exception>
|
||||
|
||||
const std::string VERSION = "ml 0.4 (" __DATE__ " " __TIME__ ")";
|
||||
#ifdef NDEBUG
|
||||
const std::string VERSION = "ml 0.4 (" __DATE__ " " __TIME__ "), Release";
|
||||
#else
|
||||
const std::string VERSION = "ml 0.4 (" __DATE__ " " __TIME__ "), Debug";
|
||||
#endif
|
||||
|
||||
const std::string STDLIB_LOADER =
|
||||
R"(
|
||||
|
||||
Reference in New Issue
Block a user