• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XCode 1.5 with GNU makefiles, using debug and release executables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 1.5 with GNU makefiles, using debug and release executables


  • Subject: XCode 1.5 with GNU makefiles, using debug and release executables
  • From: Rustam Muginov <email@hidden>
  • Date: Wed, 15 Mar 2006 19:05:16 +0300

Hi all.
I am trying to use XCode 1.5 to build external cross-platform projects in the form of makefiles.
I successfuly managed to create an XCode project, to assign makefile and necessary parameters, to add "custom executable", to build and debug the executable.
The problem is:


Makefile is using external parameter like "CONFIG=debug" or CONFIG=release", this result different compiling options and different location of the binaries (like ../debug.lib/App.app and ../release.lib/App.app".
I had to create two different targets in the project, debug and release, to pass different values of "CONFIG" parameters to makefile. Am i right and this is the only way to build two versions of executables?


To allow debugging of the application, i had to add a "custom executable" to the project. The problem is that the custom executable does require the path to the binary, and i have to write either the "debug" or "release" path in the path. I had tryed to create two custom executables, one for debug one for release, but the current active executable seems to be not in sync with the target, i.e. then i switch from "Target debug" to "target release", the current executable stays as "debug".
Are where any ways to make current executable (the one which would be launched or debugged) with the debug/release target?


Thank you in advance.

--
Sincerely,
	Rustam Muginov

_______________________________________________
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


  • Prev by Date: Re: syntax error crashes cc1obj
  • Next by Date: Re: XCode Localization limitation
  • Previous by thread: Am I wrong<t1,t2>?
  • Next by thread: CreateUniversalBinary (lipo) calmled even if the project has not been modified
  • Index(es):
    • Date
    • Thread