[CMake] check_function_exists frailty

2011-01-18 Thread Jack Poulson
I have no idea why this would occur, but with CMake 2.8.2 on x86_64 I'm getting strange behavior with check_function_exists. Namely, if I perform the sequence set(CMAKE_REQUIRED_LIBRARIES ${MATH_LIBS}) check_function_exists(daxpy HAVE_DAXPY) whether or not /usr/lib/libpthread.a or /usr/lib/libpth

Re: [CMake] Does PATH_SUFFIXES work?

2011-01-18 Thread Michael Hertling
On 01/19/2011 06:00 AM, Jack Poulson wrote: > I've thoroughly read through the CMake documentation for the 2.8 release and > for the life of me I can't seem to get a simple case working for > find_library using PATH_SUFFIXES. > > For instance, I am trying to find the library libiomp5.a located at

[CMake] Does PATH_SUFFIXES work?

2011-01-18 Thread Jack Poulson
I've thoroughly read through the CMake documentation for the 2.8 release and for the life of me I can't seem to get a simple case working for find_library using PATH_SUFFIXES. For instance, I am trying to find the library libiomp5.a located at /opt/intel/Compiler/11.1/072/lib/intel64/libiomp5.a. T

Re: [CMake] Problems with MinGW + BundleUtilities

2011-01-18 Thread David Cole
Providing code samples and/or copy/pasted output from doing your build would be more effective. I don't really know what you mean by "give two destinations" On Tue, Jan 18, 2011 at 5:51 PM, NoRulez wrote: > Thanks for the answer > > I already added ${QT_LIBRARY_DIR} and ${QT_BINARY_DIR}, but i

Re: [CMake] Problems with MinGW + BundleUtilities

2011-01-18 Thread NoRulez
Thanks for the answer I already added ${QT_LIBRARY_DIR} and ${QT_BINARY_DIR}, but if I give two destinations, I get the error that it isn't a valid bundle. Best Regards NoRulez Am 18.01.2011 um 23:43 schrieb David Cole : > On Windows, you have to tell fixup_bundle where to find the Qt dll's (

Re: [CMake] build.h instead of config.h

2011-01-18 Thread luxInteg
On Tuesday 18 January 2011 18:14:42 Eric Noulard wrote: > Why are you willing to build gsl with CMake in the first place? Ha since when was copulation used soley for procreation? joke aside > 1) Some CheckFunctionExists tests needs the math library >so that you need to > set(CMAKE_REQUIR

Re: [CMake] Problems with MinGW + BundleUtilities

2011-01-18 Thread David Cole
On Windows, you have to tell fixup_bundle where to find the Qt dll's (and the others) by passing in a list of directories as the last argument. Or, alternatively, simply add those directories to the PATH as well. HTH, David On Tue, Jan 18, 2011 at 4:34 PM, NoRulez wrote: > Hello, > > > > I bu

Re: [CMake] targetname_BINARY_DIR?

2011-01-18 Thread Pau Garcia i Quiles
On Tue, Jan 18, 2011 at 12:42 PM, David Cole wrote: > There is nothing like that... Unless the target has had its directory > property *set* before you make the get_property call. > > Why do you need this? What's your use case where the name of a target is > known, but the name of its containing p

Re: [CMake] dll build error, possible bug

2011-01-18 Thread Alexander Neundorf
On Wednesday 05 January 2011, and...@sibmail.com wrote: > Dear all, > > I working on windows and use "Cmake 2.8" + "MinGw" > > I am try to build .dll from "pthreads-win32" sources > (http://sourceware.org/pthreads-win32/) > > > by writing CMakeLists.txt (attached) and putting them to src directory

[CMake] Problems with MinGW + BundleUtilities

2011-01-18 Thread NoRulez
Hello, I build my Qt project successfully on linux/mac with the great BundleUtilities. On Windows the required Qt dll’s and also “libgcc_s_dw2-1.dll” and “mingwm10.dll” aren’t packaged. The dumpbin.exe is in the path and the dumpbin.exe is under C:\masm32\bin\dumpbin.exe How can I solv

Re: [CMake] help with cmake and corba idl

2011-01-18 Thread Alexander Neundorf
On Thursday 23 December 2010, Christopher Fernandez wrote: > Hi, everyone. > > I'm want to compile some Corba idl with CMake (for c++ and java), I > search on the web but I didn't find much help. I want to know if any of > you have any guide or can tell me how to do it. You will probably need add_

Re: [CMake] CPack 101

2011-01-18 Thread Alexander Neundorf
On Thursday 23 December 2010, Mike McQuaid wrote: ... > > Until then, at least the mailing list has a reasonable response rate and, > > it seems, sufficient participation from knowledgeable folks willing to > > pitch in and answer. So... if you're confused about something, please ask > > here. We (

Re: [CMake] FindX11.cmake - add paths?

2011-01-18 Thread Clifford Yapp
Let me check - it's possible that was a change I ended up making early in the process, before I had some other variables set... CY On Tue, Jan 18, 2011 at 3:12 PM, Alexander Neundorf wrote: > On Sunday 19 December 2010, Clifford Yapp wrote: >> Looking at my local copy of FindX11.cmake, I note th

Re: [CMake] code::blocks project generated by cmake can not set arguments to main func

2011-01-18 Thread Alexander Neundorf
On Wednesday 22 December 2010, tfjiang wrote: > Hi,everyone. > While using cmake to generate a code::blocks project, I met a problem. I > can not send argument to "int main(int argc,char *argv[])". I found some > suggestions like that: add arguments in "projects-send programs' > argument". It works

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread Bill Hoffman
On 1/18/2011 2:40 PM, Brad King wrote: On 1/18/2011 2:12 PM, Nick Kledzik wrote: When I use cmake to create a Makefile, the resulting main executable is placed in the build directory tree next to the Makefile. This is where CMake puts files in single-configuration generators. When I use cmak

Re: [CMake] FindX11.cmake - add paths?

2011-01-18 Thread Alexander Neundorf
On Sunday 19 December 2010, Clifford Yapp wrote: > Looking at my local copy of FindX11.cmake, I note that the only change > is to add a number of directories to the X11_INC_SEARCH_PATH and > X11_LIB_SEARCH_PATH variables. Perhaps these could be added to the > default FindX11.cmake? > > --- cmake-2

Re: [CMake] Component support in FindPackageHandleStandardArgs

2011-01-18 Thread Alexander Neundorf
On Monday 13 December 2010, Johannes Zarl wrote: > Hello list, > > During a recent discussion about find_package modules and components, > the question came up how to best use FindPackageHandleStandardArgs > (FPHSA) with components. > > One solution that currently works is to call FPHSA several tim

Re: [CMake] Weird behaviour of functions with list arguments

2011-01-18 Thread Alexander Neundorf
On Saturday 11 December 2010, Johannes Zarl wrote: > Hello, > > I noticed that when defining a function, one can access lists as > arguments using named arguments or ARGV0..ARGVn, but not using ARGV and > ARGN. > > To elaborate, assuming the function list_as_args defined as follows: > function(list

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread Brad King
On 1/18/2011 2:12 PM, Nick Kledzik wrote: > When I use cmake to create a Makefile, the resulting main executable > is placed in the build directory tree next to the Makefile. This is where CMake puts files in single-configuration generators. > When I use cmake to create a xcode project, the resul

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
On Tue, Jan 18, 2011 at 2:30 PM, Nick Kledzik wrote: > > On Jan 18, 2011, at 11:23 AM, David Cole wrote: > > > >> > That is not entirely true >> > >> > Things like EXECUTABLE_OUTPUT_PATH and target location properties have >> > to work without an extra install step. What do you mean CMake exp

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread Nick Kledzik
On Jan 18, 2011, at 11:23 AM, David Cole wrote: > > > > That is not entirely true > > > > Things like EXECUTABLE_OUTPUT_PATH and target location properties have > > to work without an extra install step. What do you mean CMake expects > > to find things in install locations? CMake does need t

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
On Tue, Jan 18, 2011 at 2:12 PM, Nick Kledzik wrote: > On Jan 18, 2011, at 5:30 AM, Bill Hoffman wrote: > >>> I have changes that cause cmake to produce an Xcode project in which > the > >>> targets do not have the extra phases, and the dependencies are set up > such > >>> that incremental builds

Re: [CMake] MSVC 2010

2011-01-18 Thread John Drescher
On Tue, Jan 18, 2011 at 1:17 PM, Bill Hoffman wrote: > On 1/18/2011 1:07 PM, Hendrik Sattler wrote: > >> >> What I meant to say: the .NET in the name is not important, being it the >> official product name or not. 7/8/9/10 or [.NET] 2003/2005/2008/2010, who >> cares. >> I find it more strange that

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread Nick Kledzik
On Jan 18, 2011, at 5:30 AM, Bill Hoffman wrote: >>> I have changes that cause cmake to produce an Xcode project in which the >>> targets do not have the extra phases, and the dependencies are set up such >>> that incremental builds work efficiently! >>> >>> But I'm having some impedance mismatche

Re: [CMake] ctest crashes with HTTPS drop method

2011-01-18 Thread Gerhard Gappmeier
Total LOC: 4977 > > > > Percentage Coverage: 43.28% > > > > UpdateCTestConfiguration from > > > > :/home/gergap/work/buildbot/sidusttng/build/DartConfiguration.tcl > > > > Parse Config > > file:/home/gergap/work/buildbot/sidusttng/build/DartConfigurat

Re: [CMake] MSVC 2010 (fortran)

2011-01-18 Thread Biddiscombe, John A.
Does fortran (intel 11.x integration) work in the latest MSVC 2010 supported version. I tried several months back but the fortran project generator was not upgraded so I dropped back to 2008. Has any progress been made? thanks JB ___ Powered by www.ki

Re: [CMake] MSVC 2010

2011-01-18 Thread Mateusz Loskot
On 18/01/11 18:07, Hendrik Sattler wrote: Am Dienstag 18 Januar 2011, 19:02:15 schrieb Hendrik Sattler: Am Dienstag 18 Januar 2011, 18:05:50 schrieb Mateusz Loskot: On 18/01/11 16:15, David Cole wrote: Your confusion is that you are looking for a "2010" -- there isn't one -- there is "Visual S

Re: [CMake] add_subdirectory and eclipse project

2011-01-18 Thread Alexander Neundorf
On Tuesday 18 January 2011, Andrea Galeazzi wrote: ... > I just read that wiki page but what I didn't find is how can I see the > sources referenced by the add_subproject function in the layout of > eclipse project. You mean add_subdirectory(), right ? > In other words, CMake generates an eclips

Re: [CMake] MSVC 2010

2011-01-18 Thread Bill Hoffman
On 1/18/2011 1:07 PM, Hendrik Sattler wrote: What I meant to say: the .NET in the name is not important, being it the official product name or not. 7/8/9/10 or [.NET] 2003/2005/2008/2010, who cares. I find it more strange that everyone of those needs its own generator. After all, cmake could pe

Re: [CMake] build.h instead of config.h

2011-01-18 Thread Eric Noulard
2011/1/18 luxInteg : > On Tuesday 18 January 2011 08:23:49 Eric Noulard wrote: > >> May be you can post your CMakeLists.txt here if it's not too big? >> What is your platform/compiler target? >> Linux/gcc, Windows/Visual etc... >> I bet the " -MT  -MD -MP" options are specific to the compiler use,

Re: [CMake] MSVC 2010

2011-01-18 Thread David Cole
On Tue, Jan 18, 2011 at 1:02 PM, Hendrik Sattler wrote: > Am Dienstag 18 Januar 2011, 18:05:50 schrieb Mateusz Loskot: > > On 18/01/11 16:15, David Cole wrote: > > > Your confusion is that you are looking for a "2010" -- there isn't one > > > -- there is "Visual Studio 10" > > > > David, > > > > T

Re: [CMake] MSVC 2010

2011-01-18 Thread Hendrik Sattler
Am Dienstag 18 Januar 2011, 19:02:15 schrieb Hendrik Sattler: > Am Dienstag 18 Januar 2011, 18:05:50 schrieb Mateusz Loskot: > > On 18/01/11 16:15, David Cole wrote: > > > Your confusion is that you are looking for a "2010" -- there isn't one > > > -- there is "Visual Studio 10" > > > > David, > >

Re: [CMake] Trouble with non standard Qt installation.

2011-01-18 Thread Alexander Neundorf
On Monday 29 November 2010, Clinton Stimpson wrote: > On Monday, November 29, 2010 12:26:20 pm tibur wrote: > > Le 29/11/2010 15:08, Clinton Stimpson a écrit : > > > On Monday, November 29, 2010 11:46:52 am John Drescher wrote: > > >> On Mon, Nov 29, 2010 at 1:42 PM, John Drescher > > wrote: > > >>

Re: [CMake] MSVC 2010

2011-01-18 Thread Hendrik Sattler
Am Dienstag 18 Januar 2011, 18:05:50 schrieb Mateusz Loskot: > On 18/01/11 16:15, David Cole wrote: > > Your confusion is that you are looking for a "2010" -- there isn't one > > -- there is "Visual Studio 10" > > David, > > This is indeed a mess in CMake. > There is no such product as Visual Stu

Re: [CMake] ctest crashes with HTTPS drop method

2011-01-18 Thread David Cole
sttng/build/DartConfiguration.tcl > > Submit files (using https) > > Using HTTP submit method > > Drop site:https://cdash.ascolab.com/CDash/submit.php?project=sidusttng > > Upload file: > /home/gergap/work/buildbot/sidusttng/build/Testing/20110118-1644/Build.xml >

[CMake] PROJECT command / CMAKE_SYSTEM_NAME / MSVC static runtime

2011-01-18 Thread damien benoist
Hi, My problem is very simmilar to one posted quite a while ago: (http :// cmake.3232098.n2.nabble.com/CMAKE-PROJECT-command-and-CMAKE-SYSTEM-NAME-td4548795.html) But I haven't found a solution. I would like my CMakeLists.txt to load compiler/system specific parameters in a directory named afte

Re: [CMake] build.h instead of config.h

2011-01-18 Thread luxInteg
On Tuesday 18 January 2011 08:23:49 Eric Noulard wrote: > May be you can post your CMakeLists.txt here if it's not too big? > What is your platform/compiler target? > Linux/gcc, Windows/Visual etc... > I bet the " -MT -MD -MP" options are specific to the compiler use, did you Thanks for your ki

[CMake] ctest crashes with HTTPS drop method

2011-01-18 Thread Gerhard Gappmeier
build/DartConfiguration.tcl Submit files (using https) Using HTTP submit method Drop site:https://cdash.ascolab.com/CDash/submit.php?project=sidusttng Upload file: /home/gergap/work/buildbot/sidusttng/build/Testing/20110118-1644/Build.xml to https://cdash.ascolab.com/CDash/submit.php?project=sidusttng&Fi

Re: [CMake] MSVC 2010

2011-01-18 Thread Mateusz Loskot
On 18/01/11 16:15, David Cole wrote: Your confusion is that you are looking for a "2010" -- there isn't one -- there is "Visual Studio 10" David, This is indeed a mess in CMake. There is no such product as Visual Studio 10. Also, there is no Microsoft product named "Visual Studio .NET 2005".

Re: [CMake] MSVC 2010

2011-01-18 Thread Mateusz Loskot
On 18/01/11 16:09, Dominik Szczerba wrote: I mean the option -G to specify the target build system. In my cmake 2.8.3 there is only MSVC 2008. Either your installation is broken or you have more than one version of CMake installed, very old for which you run cmake.exe --help and new which you

Re: [CMake] MSVC 2010

2011-01-18 Thread David Cole
Maybe / maybe not. We're re-working it now... On Tue, Jan 18, 2011 at 11:53 AM, Andrea Galeazzi wrote: > What about http://public.kitware.com/Bug/view.php?id=11258 ? > Do you think it'll be fixed in 2.8.4 final release? > Cheers > David Cole ha scritto: > > Your confusion is that you are looki

Re: [CMake] MSVC 2010

2011-01-18 Thread Andrea Galeazzi
What about http://public.kitware.com/Bug/view.php?id=11258 ? Do you think it'll be fixed in 2.8.4 final release? Cheers David Cole ha scritto: Your confusion is that you are looking for a "2010" -- there isn't one -- there is "Visual Studio 10" On Tue, Jan 18, 2011 at 11:14 AM, John Dre

Re: [CMake] MSVC 2010

2011-01-18 Thread Dominik Szczerba
Dear all, I apparently need stronger glasses. As Mike pointed out, I was confused by the sorting order (was looking after 2009) Many thanks for the clarifications! Regards, Dominik ___ Powered by www.kitware.com Visit other Kitware open-source pro

Re: [CMake] Sporadic mail sending issues

2011-01-18 Thread Gerhard Gappmeier
I'm working on trunk now and the SendEmail error seems to be fixed now. At least it did not show up the whole day. Thx a lot. On Friday 14 January 2011 17:49:33 Gerhard Gappmeier wrote: > Thx, > I'll give it a try on monday, it's getting late here already ;-) > Have a nice weekend. > > Am 14.01.

[CMake] VS Preprocessor Definitions

2011-01-18 Thread Nehme Bilal
Hello, I am trying to use CMake to build a project that uses CPLEX. The cplex compiling instructions says: o Add IL_STD to the Preprocessor Definitions field. This defines the macro IL_STD which is needed to use the STL. for linux, it says to add the following command to the Makefile: # ---

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Sören Freudiger
ok. But it seems as the rc-file inherits the global defines of the project :( set_target_properties(${MY_PROJECT} PROPERTIES COMPILE_DEFINITIONS ${GLOBAL_DEF} ) set_source_files_properties(${MY_RC_FILE} COMPILE_DEFINITIONS "RC_DEF") --> properties of ${MY_RC_FILE} in VS 2003: /d "RC_DEF" /d "

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Andreas Pakulat
On 18.01.11 15:01:13, "Sören Freudiger" wrote: > hmm.. okay. That means I have to set the target properties for the cxx files > like this: > > > add_executable( ${MY_PROJECT} WIN32 ${SOURCE_FILES} ) > set_target_properties( ${MY_PROJECT} PROPERTIES COMPILE_DEFINITIONS > ${MY_CXX_PRE_DEFS}) >

Re: [CMake] MSVC 2010

2011-01-18 Thread David Cole
Your confusion is that you are looking for a "2010" -- there isn't one -- there is "Visual Studio 10" On Tue, Jan 18, 2011 at 11:14 AM, John Drescher wrote: > > I mean the option -G to specify the target build system. In my cmake > 2.8.3 > > there is only MSVC 2008. Or d oyou refer to the latest

Re: [CMake] MSVC 2010

2011-01-18 Thread John Drescher
> I mean the option -G to specify the target build system. In my cmake 2.8.3 > there is only MSVC 2008. Or d oyou refer to the latest development version > of cmake? > That supports VC2010 as well. John ___ Powered by www.kitware.com Visit other Kitwar

Re: [CMake] MSVC 2010

2011-01-18 Thread David Cole
>From cmake 2.8.4-rc1 --help output (on a Windows machine) : Generators The following generators are available on this platform: ... NMake Makefiles = Generates NMake makefiles. NMake Makefiles JOM = Generates JOM makefiles. Unix Makefiles = Gen

Re: [CMake] MSVC 2010

2011-01-18 Thread Dominik Szczerba
I mean the option -G to specify the target build system. In my cmake 2.8.3 there is only MSVC 2008. Or d oyou refer to the latest development version of cmake? Dominik On Tue, Jan 18, 2011 at 4:39 PM, Pau Garcia i Quiles wrote: > On Tue, Jan 18, 2011 at 4:35 PM, Dominik Szczerba > wrote: > > Hi

Re: [CMake] MSVC 2010

2011-01-18 Thread Pau Garcia i Quiles
On Tue, Jan 18, 2011 at 4:35 PM, Dominik Szczerba wrote: > Hi, > > I am wondering if generator output support for Visual Studio 2010 is planned > any time in the future? Currently only 2008 is supported (cmake 2.8.3) but > the conversion offered by MSVC 2010 itself does not do its job correctly >

Re: [CMake] MSVC 2010

2011-01-18 Thread Mateusz Loskot
On 18/01/11 15:35, Dominik Szczerba wrote: Hi, I am wondering if generator output support for Visual Studio 2010 is planned any time in the future? Currently only 2008 is supported (cmake 2.8.3) but the conversion offered by MSVC 2010 itself does not do its job correctly converting 2008 cmake ou

[CMake] MSVC 2010

2011-01-18 Thread Dominik Szczerba
Hi, I am wondering if generator output support for Visual Studio 2010 is planned any time in the future? Currently only 2008 is supported (cmake 2.8.3) but the conversion offered by MSVC 2010 itself does not do its job correctly converting 2008 cmake outputs. Best regards, Dominik ___

Re: [CMake] Get the list of all TARGETS?

2011-01-18 Thread Mathieu Malaterre
On Tue, Jan 18, 2011 at 3:18 PM, Eric Noulard wrote: > 2011/1/18 Clifford Yapp : >> Sounds like this issue: >> >> http://www.cmake.org/pipermail/cmake/2010-September/039388.html >> >> I can confirm the wrapper function approach works, using it in BRL-CAD. > > Right, > > I think a little bit more a

Re: [CMake] Get the list of all TARGETS?

2011-01-18 Thread Eric Noulard
2011/1/18 Clifford Yapp : > Sounds like this issue: > > http://www.cmake.org/pipermail/cmake/2010-September/039388.html > > I can confirm the wrapper function approach works, using it in BRL-CAD. Right, I think a little bit more about it but I think it would be a interesting feature and I may try

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
Clarification: I was referring to intermediate build product files, not final libraries and executables. For the most part, nobody should care where their intermediate files are as long as everything works. Sorry for the mis-communication. On Tue, Jan 18, 2011 at 8:30 AM, Bill Hoffman wrote: >

Re: [CMake] Get the list of all TARGETS?

2011-01-18 Thread Clifford Yapp
Sounds like this issue: http://www.cmake.org/pipermail/cmake/2010-September/039388.html I can confirm the wrapper function approach works, using it in BRL-CAD. CY On Tue, Jan 18, 2011 at 5:10 AM, Michael Wild wrote: > On 01/18/2011 10:55 AM, Eric Noulard wrote: >> Hi All, >> >> Is it possible

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Sören Freudiger
hmm.. okay. That means I have to set the target properties for the cxx files like this: add_executable( ${MY_PROJECT} WIN32 ${SOURCE_FILES} ) set_target_properties( ${MY_PROJECT} PROPERTIES COMPILE_DEFINITIONS ${MY_CXX_PRE_DEFS}) with MY_CXX_PRE_DEFS: DEF1;DEF2;DEF3 or set_target_properties

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Andreas Pakulat
On 18.01.11 14:11:15, "Sören Freudiger" wrote: > Hello > Right now the CXX preprocessor defines are also used as the preprocessor > defines for the resource compiler (rc). Is there a way of changing that > behavior? We are using different preprocessor defines for cl and rc. And > sometimes we ev

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread Bill Hoffman
>> I have changes that cause cmake to produce an Xcode project in which the >> targets do not have the extra phases, and the dependencies are set up such >> that incremental builds work efficiently! >> >> But I'm having some impedance mismatches between where Xcode want the >> build results to be a

[CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Sören Freudiger
Hello Right now the CXX preprocessor defines are also used as the preprocessor defines for the resource compiler (rc). Is there a way of changing that behavior? We are using different preprocessor defines for cl and rc. And sometimes we even connot use the cxx flags for the rc compiler... Any i

Re: [CMake] add_subdirectory and eclipse project

2011-01-18 Thread Andrea Galeazzi
Il 14/01/2011 13.38, Ryan Pavlik ha scritto: You probably want to read this: http://www.cmake.org/Wiki/Eclipse_CDT4_Generator Ryan On Fri, Jan 14, 2011 at 3:49 AM, Andrea Galeazzi > wrote: I've been puzzled over the following problem for about 3/4 days: if I h

Re: [CMake] targetname_BINARY_DIR?

2011-01-18 Thread David Cole
There is nothing like that... Unless the target has had its directory property *set* before you make the get_property call. Why do you need this? What's your use case where the name of a target is known, but the name of its containing project is unknown (presumably)...? On Mon, Jan 17, 2011 at 9

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
On Mon, Jan 17, 2011 at 9:02 PM, Nick Kledzik wrote: > On Jan 13, 2011, at 1:57 PM, Bill Hoffman wrote: > > On 1/13/2011 4:49 PM, Nick Kledzik wrote: > >> On Jan 13, 2011, at 12:41 PM, Bill Hoffman wrote: > >>> This is because Xcode provides no way to order static libraries as > >>> far as I can

Re: [CMake] [CPACK] Add and define an environment variable for NSIS

2011-01-18 Thread Eric Noulard
2011/1/18 Olivier Pierard : > Dear all, > > I would like to add a step for our NSIS installer in order to define an > environment variable to locate a license file which is sent separately > to the package (best would be locating it through a 'browse' button). > > I'm a little bit lost in the CPack

Re: [CMake] Get the list of all TARGETS?

2011-01-18 Thread Michael Wild
On 01/18/2011 10:55 AM, Eric Noulard wrote: > Hi All, > > Is it possible to get the list of all targets defined in a project (or > CMakeLists.txt or directory ...) > from within a CMakeLists.txt ? > > Is there some properties for this? > I did search but didn't find anything, but may be I didn't

[CMake] [CPACK] Add and define an environment variable for NSIS

2011-01-18 Thread Olivier Pierard
Dear all, I would like to add a step for our NSIS installer in order to define an environment variable to locate a license file which is sent separately to the package (best would be locating it through a 'browse' button). I'm a little bit lost in the CPack files organization so if someone could

[CMake] Get the list of all TARGETS?

2011-01-18 Thread Eric Noulard
Hi All, Is it possible to get the list of all targets defined in a project (or CMakeLists.txt or directory ...) from within a CMakeLists.txt ? Is there some properties for this? I did search but didn't find anything, but may be I didn't looked in the right place? -- Erk Membre de l'April - « p

Re: [CMake] build.h instead of config.h

2011-01-18 Thread Eric Noulard
2011/1/18 luxInteg : > Greetings, > > I am learning cmake.  I progressed to doing configH checks (libtool to cmake > conversion).   I have followed useful tips I obtained from this list  and this > link:- > > http://www.cmake.org/Wiki/CMake:How_To_Write_Platform_Checks > > >  I have a test project