summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-14 09:32:43 +0100
committermadmaxoft <github@xoft.cz>2014-01-14 09:32:43 +0100
commitb263d55a2dc2e4d7bd879d789f8e22385eb89ad8 (patch)
tree9a8f7a9fe0d9003c53e5eaaf64abbdd3da3f54a2 /src/CMakeLists.txt
parentAPIDump: Wrapped example code so that it displays well on small screens. (diff)
downloadcuberite-b263d55a2dc2e4d7bd879d789f8e22385eb89ad8.tar
cuberite-b263d55a2dc2e4d7bd879d789f8e22385eb89ad8.tar.gz
cuberite-b263d55a2dc2e4d7bd879d789f8e22385eb89ad8.tar.bz2
cuberite-b263d55a2dc2e4d7bd879d789f8e22385eb89ad8.tar.lz
cuberite-b263d55a2dc2e4d7bd879d789f8e22385eb89ad8.tar.xz
cuberite-b263d55a2dc2e4d7bd879d789f8e22385eb89ad8.tar.zst
cuberite-b263d55a2dc2e4d7bd879d789f8e22385eb89ad8.zip
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 18fd57fb9..1c031173b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -100,6 +100,10 @@ endif()
# Make the debug executable have a "_debug" suffix
SET_TARGET_PROPERTIES(${EXECUTABLE} PROPERTIES DEBUG_POSTFIX "_debug")
+# Make the profiled executables have a "_profile" postfix
+SET_TARGET_PROPERTIES(${EXECUTABLE} PROPERTIES DEBUGPROFILE_POSTFIX "_debug_profile")
+SET_TARGET_PROPERTIES(${EXECUTABLE} PROPERTIES RELEASEPROFILE_POSTFIX "_profile")
+
# Precompiled headers (2nd part)
if (MSVC)