Keith Smith
|
Performing a command line build of IDE projects
|
Keith Smith
02/28/2009 7:25 PM
post23165
|
Performing a command line build of IDE projects
I am interested in how to build the projects in an IDE workspace from the command line.
For a simple standalone project, one can simply enter 'make'.
However for a large build, with multiple dependencies, 'make' doesn't work. The make files do not have the include paths
properly defined. The include path variables used by the make files are defined in the IDE, not the make files.
The dependency order of building projects is also in the IDE, not the make files when using QNX Projects
I found the following statement for Eclipse, and it works for Eclipse Ganymede (after installing JDT)
eclipse -data . -application org.eclipse.jdt.apt.core.aptBuild -vmargs -Dorg.eclipse.cdt.core.console=org.eclipse.cdt.
core.systemConsole
When I try this with the Momentics IDE 4.5.1 buildID 20081204
%QNX_HOST%\usr\qde\eclipse\qde -data . -application org.eclipse.jdt.apt.core.aptBuild -vmargs -Dorg.eclipse.c
dt.core.console=org.eclipse.cdt.core.systemConsole
I get a log entry
Application "org.eclipse.jdt.apt.core.aptBuild" could not be found in the registry
Also in the log it states that there is an application called
com.qnx.tools.ide.builder.core.CommandLineBuilder
Is this the substitute for aptBuild?
When I try using CommandLineBuilder instead of aptBuild I get a JVM error 1.
How can I get Momentics to perform a command line build of IDE QNX projects?
|
|
|