| Builder location path come from a variable? [message #879232] |
Wed, 30 May 2012 16:09  |
Tyler Akins Messages: 4 Registered: May 2012 |
Junior Member |
|
|
A coworker and I are working on an Android project and we both have this custom program that will compile the C++ portions, ndk-build. On my system it is /home/fidian/workspace/android-ndk-r8/ndk-build and on his it is C:\Development\android-ndk-r8\ndk-build but he needs to run a batch file instead. I'm sure you noticed that we are using different operating systems.
Ideally I would like to define a linked resource to make a path variable and then for the "Location" of the custom builder we would use something like "${NDK_BUILD_COMMAND}". That way I can commit the project to our repository and not complicate things when another developer joins the team (probably a Mac user and thus an entirely different path once again).
The documentation for linked resources / path variables says I can define one and then reference it as a variable. The builder setup page lets me insert variables. I thought it would be easy, but I can't get this to work at all and my Google skills are not turning up anything helpful. Right now it looks like I will have to put this binary in my path on every system that's set up for development, but I would much rather only define it in Eclipse.
How can I use linked resources so I can use them in the location field for a custom builder?
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01687 seconds