[Omake] Out-of-tree builds
Phil Endecott
spam_from_omake at chezphil.org
Wed Jan 17 15:43:31 PST 2007
Hi,
Has any thought been given to using omake for out-of-tree builds of C /
C++ programs? My motivation is supporting cross-compilation to
multiple architectures from the same source tree, e.g.
|
+-- src
|
+-- build_x86
|
+-- build_arm
src contains all the .c and .h files. I want to be able to cd into one
of the build directories and omake there to generate
architecture-specific object files and executables. The build
directories would contain minimal OMakefiles defining the tool prefix.
The same sort of arangement is useful for debug builds in one place and
production builds in another, and so on.
It would be great if someone had already found the simplest way to do
this, or else could suggest where I should start.
Thanks,
Phil.
More information about the Omake
mailing list