Skip to content
Browse files

Add support for profile builds

  • Loading branch information...
1 parent c798118 commit 602a40de5a400cdb81ce14917869c8682e6340f6 @fpsunflower fpsunflower committed Aug 29, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Makefile
View
4 Makefile
@@ -79,6 +79,10 @@ ifdef DEBUG
MY_CMAKE_FLAGS += -DCMAKE_BUILD_TYPE:STRING=Debug
endif
+ifdef PROFILE
+MY_CMAKE_FLAGS += -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
+endif
+
ifneq (${MYCC},)
MY_CMAKE_FLAGS += -DCMAKE_C_COMPILER:STRING=${MYCC}
endif

0 comments on commit 602a40d

Please sign in to comment.
Something went wrong with that request. Please try again.