]> granicus.if.org Git - clang/commitdiff
From Lucas Newman:
authorChris Lattner <sabre@nondot.org>
Fri, 28 Dec 2007 00:38:23 +0000 (00:38 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 28 Dec 2007 00:38:23 +0000 (00:38 +0000)
"Here's a tiny patch that lets the clang Xcode project build in any
location, so llvm doesn't have to be checked out in your home folder."

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45376 91177308-0d34-0410-b5e6-96231b3b80d8

clang.xcodeproj/project.pbxproj

index 338300fa1a080097f053edec353e9e118f9e92f7..1c67892b069f06f65238679d8cade40576805f76 100644 (file)
                                GCC_THREADSAFE_STATICS = NO;
                                GCC_USE_GCC3_PFE_SUPPORT = NO;
                                HEADER_SEARCH_PATHS = (
-                                       "~/llvm/tools/clang/include",
-                                       "~/llvm/include",
+                                       "$(PROJECT_DIR)/include",
+                                       "$(PROJECT_DIR)/../../include",
                                        "$(HEADER_SEARCH_PATHS)",
                                );
                                INSTALL_PATH = "$(HOME)/bin";
-                               LIBRARY_SEARCH_PATHS = "~/llvm/Debug/lib";
+                               LIBRARY_SEARCH_PATHS = "$(PROJECT_DIR)/../../Debug/lib";
                                OTHER_LDFLAGS = (
                                        "-lLLVMSupport",
                                        "-lLLVMSystem",