[CMake] Add a manifest file to the created jar

2013-06-17 Thread paul . chavent
. From d904e38deda4277a8daabe0b4c37f62be8cf4ac0 Mon Sep 17 00:00:00 2001 From: Paul Chavent paul.chav...@onera.fr Date: Mon, 17 Jun 2013 15:57:11 +0200 Subject: [PATCH] Add the options to insert a manifest in a jar. --- Modules/UseJava.cmake | 20 +--- 1 file changed, 17 insertions

Re: [CMake] target_link_libraries of MODULE

2013-01-13 Thread Paul Chavent
On 01/12/2013 11:04 PM, Rolf Eike Beer wrote: Paul Chavent wrote: Hi. I'm working on a project basically compound of : - a core library that can be static or dynamic add_library(Foo-lib ${FOO_LIB_SOURCES}) - an executable that rely on the main library : add_executable(Foo-bin

[CMake] target_link_libraries of MODULE

2013-01-12 Thread Paul Chavent
Hi. I'm working on a project basically compound of : - a core library that can be static or dynamic add_library(Foo-lib ${FOO_LIB_SOURCES}) - an executable that rely on the main library : add_executable(Foo-bin ${FOO_BIN_SOURCES}) target_link_libraries(Foo-bin Foo-lib) - a dlopenable

[CMake] Cross compil and DESTDIR

2010-01-07 Thread Paul Chavent
Hi cmake mailing list ! When i cross compile with autotools, i used to do $ ./configure --prefix=/usr/local ... $ make install DESTDIR=${SYSROOT} Now, with cmake i do $ cmake source_dir -DCMAKE_INSTALL_PREFIX=/usr/local ... $ make install DESTDIR=${SYSROOT} Is it a good practice ? What is