|
@@ -14,6 +14,12 @@ else()
|
|
|
message("==> CMAKE_BUILD_TYPE == ${CMAKE_BUILD_TYPE}.")
|
|
|
endif()
|
|
|
|
|
|
+# Profiling - which does not work.
|
|
|
+# SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pg")
|
|
|
+# SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg")
|
|
|
+# SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pg")
|
|
|
+# add_definitions(-pg)
|
|
|
+
|
|
|
## https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_macros.html
|
|
|
## During Debug, use debug version of libstdc++ (asserts on access to invalid iterators, etc!)
|
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_GLIBCXX_DEBUG")
|
|
@@ -28,7 +34,7 @@ set(CMAKE_CXX_EXTENSIONS ON)
|
|
|
|
|
|
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/door++)
|
|
|
message("***")
|
|
|
- message("*** ERROR/MISSING *** please run: git clone ssh://gitredgreen/RedGreen/bzdoor.git")
|
|
|
+ message("*** ERROR/MISSING *** please run: git clone https://github.com/stevet11/door.git door++")
|
|
|
message("*** (Or whatever git clone you need for door++)")
|
|
|
message("***")
|
|
|
endif()
|