• 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
Re: Running a (C++) executable with str?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running a (C++) executable with str?


  • Subject: Re: Running a (C++) executable with str?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 8 Jan 2009 16:50:20 +0100

You add an argument:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeProjectManagement/080-Defining_Executable_Environments/chapter_10_section_5.html


Le 8 janv. 09 à 16:41, Markus Hänchen a écrit :

Hi,

Preamble:
I am taking over some code written in C++ but have very little experience with C++ (mainly use Fortran & Perl).


My problem:
My predecessor used, via the commandline, bjam for compilation and ran the executable with './pathtoexecutable str'. This works for me as well. I am also able to build it with Xcode and run it then with './pathtoexecutable str' on the commandline. But when I run it from within Xcode, it only displays the help content (from the .cpp file) which is the same result as running it from the commandline without 'str'.


My question:
How do I tell Xcode to add the 'str' when it runs the executable? And what does this 'str' actually do?


Thanks,

Markus
_______________________________________________
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


_______________________________________________ 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
References: 
 >Running a (C++) executable with str? (From: Markus Hänchen <email@hidden>)

  • Prev by Date: Running a (C++) executable with str?
  • Next by Date: Re: Xcode-users Digest, Vol 6, Issue 9
  • Previous by thread: Running a (C++) executable with str?
  • Next by thread: Re: Xcode-users Digest, Vol 6, Issue 9
  • Index(es):
    • Date
    • Thread