![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Running the executable (Rhapsody 6.1) Topic Summary: Created On: 15-Jun-2007 12:25 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi folks,
I'm working on a project where we use Scons for building binaries. It builds all libs and executables in a separate directory. For example, a setup like this: myProject/DefaultComponent/DefaultConfig/target.mak would end up in a the directory myProject/build/DefaultComponent/DefaultConfig/myProject/target.exe ...and Rhapsody can't find it. Does anybody know how to tell Rhapsody where the executable is? I've looked at the property InvokeExecutable and the keyword $executable, but I can't figure out how to use them. Any advice is much appreciated. Bjorn |
|
![]() |
|
![]() |
|
I think that the keyword $executable is based on the property 'ObjectsDirectory'. Try setting the value of that property to the path of the generated program, such as "myProject/build/DefaultComponent/DefaultConfig/myProject".
|
|
![]() |
|
![]() |
|
Hi Bjorn
Arto's suggestion has promise; I'd try that first, although be aware that changing the ObjectsDirectory property will probably change the content of your generated makefile, which may or may not be a problem. Another couple of ideas that I'd consider: [list] [*]Modify the InvokeExecutable property to run a script that gets passed $executable and processes it into the real path to the exe. [*]Modify your MakeFileContent property so that your generated makefile copies the executable back into Rhapsody's DefaultComponent\DefaultConfig directory after Scons has finished. [/list] best regards, Simon ------------------------- Simon Morrish simon.morrish@eu.panasonic.com http://panasonic.co.uk Panasonic ideas for life |
|
![]() |
|
![]() |
|
Arto and Simon,
Thank you. I'll try your suggestions. Bjorn |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Running the executable (Rhapsody 6.1)
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.