Merge pull request #207 from simartin/xcode_cfgdir_def

Set CFGDIR when building via XCode to enable to run the generated binary
This commit is contained in:
Daniel Marjamäki 2014-01-03 11:39:32 -08:00
commit 2b490b32b2
1 changed files with 2 additions and 1 deletions

View File

@ -794,7 +794,7 @@
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
GCC_MODEL_TUNING = ""; GCC_MODEL_TUNING = "";
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = ""; "GCC_PREPROCESSOR_DEFINITIONS[arch=*]" = "CFGDIR=\\\"$SRCROOT/cfg/\\\"";
GCC_VERSION = ""; GCC_VERSION = "";
HEADER_SEARCH_PATHS = externals/tinyxml; HEADER_SEARCH_PATHS = externals/tinyxml;
INSTALL_PATH = /usr/local/bin; INSTALL_PATH = /usr/local/bin;
@ -809,6 +809,7 @@
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
DEBUG_INFORMATION_FORMAT = dwarf; DEBUG_INFORMATION_FORMAT = dwarf;
GCC_MODEL_TUNING = ""; GCC_MODEL_TUNING = "";
"GCC_PREPROCESSOR_DEFINITIONS[arch=*]" = "CFGDIR=\\\"$SRCROOT/cfg/\\\"";
HEADER_SEARCH_PATHS = externals/tinyxml; HEADER_SEARCH_PATHS = externals/tinyxml;
INSTALL_PATH = /usr/local/bin; INSTALL_PATH = /usr/local/bin;
PRODUCT_NAME = cppcheck; PRODUCT_NAME = cppcheck;