On Fri, Jun 17, 2011 at 11:12 AM, t m wrote:
> > As far as I correctly understood patch from Peter, implementation for
> > makefile dependency is on place.
> > For me makefile dependency is fine, since I'm using only makefiles.
> >
> > I just tried to understand idea of LANGUAGE inside cmake. I t
2011/6/17 John R. Cary :
> Attached is a minimal standalone example that illustrates the problem.
>
> If build dir is next to the directory resulting from untarring this, do
>
> cmake -DCMAKE_INSTALL_PREFIX=$HOME/tmp/cmtprefix ../cmt
> make all install
> # You will see that in the installation, the
On Fri, Jun 17, 2011 at 4:30 PM, Eric Sokolowsky wrote:
> You didn't specify your development environment so I'm just guessing here.
> Under Linux, you usually have to install a development package in order to
> link to libraries. If you are compiling your own libgeotiff you might want
> to instal
You didn't specify your development environment so I'm just guessing here.
Under Linux, you usually have to install a development package in order to
link to libraries. If you are compiling your own libgeotiff you might want
to install the library before trying to link to it. You might also be
link
Attached is a minimal standalone example that illustrates the problem.
If build dir is next to the directory resulting from untarring this, do
cmake -DCMAKE_INSTALL_PREFIX=$HOME/tmp/cmtprefix ../cmt
make all install
# You will see that in the installation, the top cmtdir is a link:
numbersix.car
On Friday 17 June 2011, Glenn Coombs wrote:
> If the library you are trying to build is one that is totally under your
> control then really it should be a subdirectory of your MY_APP source tree
> so that you can call add_subdirectory() on it. If MY_LIB is shared across
> multiple projects then y
> If you want to keep your local-only modifications, simply do not use
> ctest_update to get the upstream changes. Write your own script, or sequence
> of execute_process git calls to retrieve them and then merge or re-base your
> local mods as you wish instead.
OK, that should be feasible.
Th
2011/6/17 John R. Cary :
> I just found another person who had the same problem:
>
> http://www.cmake.org/pipermail/cmake/2007-July/015024.html
>
> Does not look like there was ever a response to this?
Yes you seem right now back in 2007 CPack TGZ wasn't using the same
method to package TGZ.. but
I just found another person who had the same problem:
http://www.cmake.org/pipermail/cmake/2007-July/015024.html
Does not look like there was ever a response to this?
John Cary
On 6/17/11 8:46 AM, John R. Cary wrote:
On 6/16/11 2:15 PM, Eric Noulard wrote:
I never used install(CODE ... but
On 6/16/11 2:15 PM, Eric Noulard wrote:
I never used install(CODE ... but besides that this should work.
did you have a look at the symlinks found in the CPack temp install dir:
_CPack_Packages//TGZ/
are they local as they should be or are they pointing to some absolute path.
They are correc
On Fri, Jun 17, 2011 at 6:46 AM, Esztermann, Ansgar <
ansgar.eszterm...@mpi-bpc.mpg.de> wrote:
> Hi everyone,
>
> some time ago, I've set up automated nightly builds of an open-source
> project (with CTest and CDash). CTest support isn't in upstream, so I have
> created a "ctest" branch in git, pu
If the library you are trying to build is one that is totally under your
control then really it should be a subdirectory of your MY_APP source tree
so that you can call add_subdirectory() on it. If MY_LIB is shared across
multiple projects then you can always arrange for it to appear as a
subdirec
Hi everyone,
some time ago, I've set up automated nightly builds of an open-source project
(with CTest and CDash). CTest support isn't in upstream, so I have created a
"ctest" branch in git, pulling every night from upstream. A while ago, I
noticed that all my test were gone -- indeed, the whol
On 16/06/2011 23:54, David Springate wrote:
I have the following:
A library called MY_LIB that builds with a cmake command (I have created
a nice CMakeLists.txt file)
What do you mean a cmake command? add_custom_target?
If that's how you generate your library then you need CMake 2.8.4 or
lat
Thanks for that helpful summary Jacob - and indeed you are correct I was
getting very confused (overtime is getting to me!) and forgetting of course
cmake doesn't actually *build* the product - but I do want it to generate
the makefiles that the project is dependant on, as you outlined.
Now, my se
Hej David,
You're either very confusing in explaining your needs or you just don't
understand what CMake does. CMake knows that it needs to build MY_LIB
before MY_APP, because supposedly you have written code in the
lists-file that tells CMake so.
I can't be sure, but I feel you really need
Hello,
Am Freitag, 17. Juni 2011, 11:40:15 schrieb David Springate:
> Hi Andreas,
>
> Thanks for another reply!
>
> My question therefore is:
> How can the cmake for MY_APP start the cmake for MY_LIB?
>
> I know how to get my app to link a library, and how to add the include
> directories for t
I don't see any good reason, why should cmake call itself in another
build directory?
If the library is part of the project, than it is added with
add_subdirectory in the main CMakeLists.txt file.
If the library is not part of the project, it has to be maintained from
outside.
Am I missing so
Hi Andreas,
Thanks for another reply!
My question therefore is:
How can the cmake for MY_APP start the cmake for MY_LIB?
I know how to get my app to link a library, and how to add the include
directories for the lib - so that the app can compile - but how can it
kick-start the build for MY_LIB s
Hi,
how should cmake find your MY_LIB-directory?
The simplest way, is to add the directory using
"add_subdirectory(MY_LIB_DIR ...)"
If the MY_LIB-build directory is somewhere else, in a completely
different directory, you should think about your project structure.
Andreas
Am 17.06.2011 11:0
> As far as I correctly understood patch from Peter, implementation for
> makefile dependency is on place.
> For me makefile dependency is fine, since I'm using only makefiles.
>
> I just tried to understand idea of LANGUAGE inside cmake. I think that
> in this particular case having new language o
Hi,
Thanks for the reply - but I think you might have misunderstood my question.
I want to setup CMake so that when I call Cmake like so (for MY_APP):
mkdir build && cd build
cmake .. -G Xcode
that the cmake call will be able to 'know' that it needs MY_LIB, find where
the MY_LIB CMakeLists.txt f
Hej David,
From your description I think all your build script needs to do is:
mkdir build && cd build
cmake ..
make MY_APP
Further, assuming your library also gets build with CMake, you probably
have an add_directory(../MY_LIB ../MY_LIB) in your main lists-file
(otherwise you should) and the
LinkedIn
debao zhang requested to add you as a connection on LinkedIn:
--
Robert,
I'd like to add you to my professional network on LinkedIn.
- debao
Accept invitation from debao zhang
http://www.linkedin.com/e/-nf7vxk-gp0skrzj-5y/
24 matches
Mail list logo