Set CFGDIR when building via XCode to be able to run the generated binary.

This commit is contained in:
Simon Martin 2014-01-03 20:17:59 +01:00
parent a94fccf51a
commit b5595ca015
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;