|
From: Chris F. <cd...@fo...> - 2011-07-23 21:36:38
|
On Sat, Jul 23, 2011 at 03:27:51PM +0200, Daniel Gollub wrote:
> On Saturday, July 23, 2011 12:54:37 PM Paul Eggleton wrote:
> > I tried to test it but unfortunately the version from the Git repo seems
> > to suffer from some kind of CMake path problem - it can't find some CMake
> > modules (e.g. glib2). I've verified OpenSync from svn finds them OK on the
> > same machine.
>
> Same here. I just copied the CMake modules from the opensync SVN repo and
> adapted the CMakeLists.txt so CMAKE_MODULE_PATH points to it.
>
> Chris, does your installed cmake version really contain all those cmake
> modules we have written in the past?
>
> Or do i miss some git submodule magic?
Sorry guys, I should have included this in the original message.
The opensync library is cloned with:
git clone git://repo.or.cz/opensync/opensync-cdf.git
The cmake-modules repo is cloned with:
git clone git://repo.or.cz/opensync/cmake-modules-cdf.git
Then I run cmake with the following switch:
-DCMAKE_MODULE_PATH="/path/to/cmake-modules"
Some background info:
My goal is to have one tree that can compile everything all at once.
This is what I call 'binary-meta'. All my git repos to achieve this
end can be found in the 'forks' list at the bottom of this web page:
http://repo.or.cz/w/opensync.git
"opensync.git" is the git mirror Daniel created earlier. I just created
forks off of that project for each plugin and library repo. The nice
thing about repo.or.cz is that anyone can easily create their own fork
as well. A fork is just another git repo containing the same tree in
a different repo. This allows people to collaborate more easily.
The binary-meta repo does the cmake stuff behind the scenes, and uses git
submodules to reference all of the other git repos I'm working on, in order
to build them all at once, either on a source level, or into binary packages.
There is documentation in the README in that repo, as well as in the top level
Makefile. It is a work in progress, but it does work enough to be useful
right now.
If you have more questions, please ask!
Thanks,
- Chris
|