Using build variables in Configurations Names [message #1403468] |
Wed, 23 July 2014 23:08 |
David Jarrett Messages: 1 Registered: July 2014 |
Junior Member |
|
|
I am running Luna under Ubuntu.
I have a project that I need to build for several different platforms: ARM, x86-32 bit, x86 64 bit, PPC, etc. I have set up multiple configurations with the appropriate cross compilers (called Debug-ARM, Release-ARM, Debug-PPC ...) and this works well.
Now, for x86 my plan was to have one Configuration that would build to the appropriate directory depending on the platform (Ubuntu 32-bit or 64-bit). I set up a configuration with the following name: Debug_${ArchType} where ArchType is defined as either x86 or x86_64 depending on the machine.
This works great on my 32-bit machine, I get 32-bit binaries and they are copied (via post-build step) into a Debug_x86 directory.
Using the same project on a 64-bit machine gives me the following error:
**** Build of configuration Debug_${ArchType} for project MyProj ****
make pre-build main-build
make: *** No rule to make target `pre-build'. Stop.
However, if I go to directory /Debug_${ArchType} and run 'make all' at the command line (which uses the Eclipse generated makefile) it works fine.
I've poked around all the settings and can't figure out why this is happening. I would find a different method, but since it works on my 32-bit distro and works at the command line, I'm hoping I can find a solution.
Can anyone point me to a solution?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.02668 seconds