Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2008-02-06 04:25:56 +0300
committerJoshua Leung <aligorith@gmail.com>2008-02-06 04:25:56 +0300
commit038c08804d3597d7edbd878fab0632a9c86b8ea5 (patch)
treeb25a250264fe617ff9956fabc841def73d2c7bae /config
parent53d86458371d9d595d693c10437cfd08817acaf9 (diff)
It is now possible to compile a profiling build with mingw+scons.
Here are the changes I've had to make: * Added default settings for BF_PROFILE and BF_PROFILE_FLAGS for mingw * Made makesdna.c link with profiling flags too. This fixes some linking problems related to guardedmalloc for linking it. I'm not sure if this breaks compiling with BF_PROFILE on other platforms.
Diffstat (limited to 'config')
-rw-r--r--config/win32-mingw-config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/win32-mingw-config.py b/config/win32-mingw-config.py
index 8c8c12db46f..fa6b12ab138 100644
--- a/config/win32-mingw-config.py
+++ b/config/win32-mingw-config.py
@@ -156,5 +156,8 @@ LLIBS = ['-lshell32', '-lshfolder', '-ldxguid', '-lgdi32', '-lmsvcrt', '-lwinmm'
BF_DEBUG = 'false'
BF_DEBUG_FLAGS= '-g'
+BF_PROFILE_FLAGS = ['-pg','-g']
+BF_PROFILE = 'false'
+
BF_BUILDDIR = '..\\build\\win32-mingw'
BF_INSTALLDIR='..\\install\\win32-mingw'