Re: [CMake] CMake Installerproject with NSIS

2012-10-23 Thread Eric Noulard
2012/10/24 Lodron, Gerald : > Hi > > I am trying to make my first installer of my already working cmake > application but I have the problem that no output is done by CMake. I have > installed NSIS, whereby my CMake flags in GUI are: > CPACK_BINARY_NSIS is true, CPACK_BINARY_ZIP is false and CPACK_

[CMake] WG: CMake Installerproject with NSIS

2012-10-23 Thread Lodron, Gerald
Sorry, i found the PACKAGE project now Von: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 24. Oktober 2012 07:54 An: CMake (cmake@cmake.org) Betreff: [CMake] CMake Installerproject with NSIS Hi I am trying to make my first installer o

[CMake] CMake Installerproject with NSIS

2012-10-23 Thread Lodron, Gerald
Hi I am trying to make my first installer of my already working cmake application but I have the problem that no output is done by CMake. I have installed NSIS, whereby my CMake flags in GUI are: CPACK_BINARY_NSIS is true, CPACK_BINARY_ZIP is false and CPACK_SOURCE_ZIP is true My CMake script

Re: [CMake] Project-specific setting with cmake -> eclipse CDT project generator?

2012-10-23 Thread Alexander Neundorf
On Monday 22 October 2012, Markus Litz wrote: > Yes that is true. But there are some things that are stored for that > project. For example, if you would like to add a specific source code > formatter, you define it at "C/C++ General" -> "Formatter" -> "Enable > project specific settings". > These

[CMake] How to update CTestCustom.cmake.in so that message like "You are in 'detached HEAD' state." are ignored ?

2012-10-23 Thread Jean-Christophe Fillion-Robin
Hi Folks, I tried to add an exception to CTestConfig.cmake [1] so that message like "*You are in 'detached HEAD' state"* are not reported by it seems I am missing something. CTestCustom.cmake.in: https://github.com/Slicer/Slicer/blob/master/CMake/CTestCustom.cmake.in#L242-243 CDash output: http:

Re: [CMake] Cmake link trouble in Windows

2012-10-23 Thread Bill Hoffman
On 10/23/2012 10:55 AM, Vyacheslav Karamov wrote: 1. I don't understand what did you mean, but I guess you want to create library test CMake will link to the right thing. The trick is symbols are not exported by default on windows. So, if you do not change your code, no symbols are exported,

Re: [CMake] Cmake link trouble in Windows

2012-10-23 Thread Vyacheslav Karamov
Hi! 1. I don't understand what did you mean, but I guess you want to create library test ADD_LIBRARY(test SHARED ${FAN_SRC}) then you wanted to specify in which directory some libraries should be searched LINK_DIRECTORIES(${ACE_LIB_DIR}) and then you tried to link library ACE with your targ

Re: [CMake] Cmake link trouble in Windows

2012-10-23 Thread John Drescher
> Thanks for your help。 but now i am in another trouble. > In Windows,i am trying to build a shard library,It needs to link dynamic > library and static library。 > when i want to link a dynamic library,it comes: > (fatal error U1073:does not know how to generate "ACE.lib") > > AUX_SOURCE_DIR

[CMake] Cmake link trouble in Windows

2012-10-23 Thread 张峰
hello: Thanks for your help。 but now i am in another trouble. In Windows,i am trying to build a shard library,It needs to link dynamic library and static library。 when i want to link a dynamic library,it comes: (fatal error U1073:does not know how to generate "ACE.lib") AUX_SOURCE_DIRECTO

Re: [CMake] Continue install after a failure

2012-10-23 Thread Petr Kmoch
On Tue, Oct 23, 2012 at 1:07 PM, Eric Noulard wrote: > 2012/10/23 David Cole : > > On Tue, Oct 23, 2012 at 2:53 AM, Petr Kmoch > wrote: > >> On Mon, Oct 22, 2012 at 4:58 PM, David Cole > wrote: > >>> > >>> On Mon, Oct 22, 2012 at 3:22 AM, Petr Kmoch > wrote: > >>> > Hi Andreas, > >>> > > >>> >

Re: [CMake] Continue install after a failure

2012-10-23 Thread Eric Noulard
2012/10/23 David Cole : > On Tue, Oct 23, 2012 at 2:53 AM, Petr Kmoch wrote: >> On Mon, Oct 22, 2012 at 4:58 PM, David Cole wrote: >>> >>> On Mon, Oct 22, 2012 at 3:22 AM, Petr Kmoch wrote: >>> > Hi Andreas, >>> > >>> > thanks for your tip. Unfortunately, 'make -k install' doesn't help, as >>> >

Re: [CMake] Not all targets are built on Linux

2012-10-23 Thread David Cole
Are you using EXCLUDE_FROM_ALL anywhere in the CMakeLists files? http://cmake.org/cmake/help/v2.8.9/cmake.html#prop_tgt:EXCLUDE_FROM_ALL Sending us a snippet of the CMakeLists file for one of the targets that does not get built in 'all' might be helpful. On Mon, Oct 22, 2012 at 11:41 AM, Paul

Re: [CMake] Continue install after a failure

2012-10-23 Thread David Cole
On Tue, Oct 23, 2012 at 2:53 AM, Petr Kmoch wrote: > On Mon, Oct 22, 2012 at 4:58 PM, David Cole wrote: >> >> On Mon, Oct 22, 2012 at 3:22 AM, Petr Kmoch wrote: >> > Hi Andreas, >> > >> > thanks for your tip. Unfortunately, 'make -k install' doesn't help, as >> > the >> > entire install step is

Re: [CMake] [SOLVED] CPack: Project and independent subproject

2012-10-23 Thread Eric Noulard
2012/10/23 Romain LEGUAY : > Le 23/10/12 10:45, Romain LEGUAY a écrit : > >> Thank you Eric, >> >> I succeed to create the package by using CPACK_INSTALL_CMAKE_PROJECTS >> variable. >> >> I have some problem now to put my package in a specific folder. I try to >> set CPACK_TOPLEVEL_TAG variable but

Re: [CMake] CPack: Project and independent subproject

2012-10-23 Thread Eric Noulard
2012/10/23 Romain LEGUAY : > Thank you Eric, > > I succeed to create the package by using CPACK_INSTALL_CMAKE_PROJECTS > variable. > > I have some problem now to put my package in a specific folder. I try to set > CPACK_TOPLEVEL_TAG variable but there is no change... Toplevel won't be included unl

Re: [CMake] [SOLVED] CPack: Project and independent subproject

2012-10-23 Thread Romain LEGUAY
Le 23/10/12 10:45, Romain LEGUAY a écrit : Thank you Eric, I succeed to create the package by using CPACK_INSTALL_CMAKE_PROJECTS variable. I have some problem now to put my package in a specific folder. I try to set CPACK_TOPLEVEL_TAG variable but there is no change... I just resolve this

Re: [CMake] CPack: Project and independent subproject

2012-10-23 Thread Romain LEGUAY
Thank you Eric, I succeed to create the package by using CPACK_INSTALL_CMAKE_PROJECTS variable. I have some problem now to put my package in a specific folder. I try to set CPACK_TOPLEVEL_TAG variable but there is no change... Le 22/10/12 20:59, Eric Noulard a écrit : If you want to have co