Linker warning
Linker warning
- Subject: Linker warning
- From: Christopher Trainor <email@hidden>
- Date: Thu, 23 Jun 2011 17:48:04 +0000
- Thread-topic: Linker warning
I want my target files to be in a non-standard location. I want my executable to be in a subfolder of the folder where the project file lives. I made the following change to my build settings:
TARGET_BUILD_DIR = $(PROJECT_DIR)/$CONFIGURATION
I also changed LIBRARY_SEARCH_PATHS
to specify the locations of my needed libraries.
This almost works correctly. The executables get put into projectdir/Debug and projectdir/Release.
The problem I have now is that I am getting a linker warning:
ld: warning: directory not found for option '-L/ (path to project dir)/build/Debug'
This makes sense, since that directory is no longer getting created now that the target file is going to a different location. Is there some other setting I have to
change to get it to stop looking in this directory for library files?
Thanks,
Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden