Andy Pekarske
|
Building outside of Momentics with application projects that inlcude library projects
|
Andy Pekarske
05/21/2008 11:39 AM
post8322
|
Building outside of Momentics with application projects that inlcude library projects
I am using subversion and a multi level directory layout for my project. Some subdirectories contain Momentics projects
for libraries, while others contain projects for applications. For example here is a view of the code layout in the
repository:
Trunk
|-Apps
|--Foo
|-Libs
|--FooLib
In order to build application Foo which relies on library FooLib I check out both projects from subversion. I build the
FooLib project first, followed by the Foo project. The Foo project links to FooLib in the project properties linker
options and the include path for the library references the workspace project location for FooLib.
This builds fine inside Momentics, but when I try to build it from the command prompt it doesn't know what $
(PROJECT_ROOT_FooLib) is defined as, and the Foo application doesn't know how to link to the FooLib library. Is there a
better way to work around this instead of changing the include path for the library to $(PROJECT_ROOT)/../FooLib/?
|
|
|