Re: [CMake] Searching for multiple libraries using find_library()

2009-05-17 Thread Andreas Pakulat
On 17.05.09 22:42:51, Robert Dailey wrote: > I'm creating a find_package module for the TBB library, and it has 2 libs: > tbb.lib and tbbmalloc.lib. Both of these are part of TBB, and in my > TBB_LIBRARIES variable I want to return both of them. However, I can only > search for one of them at a tim

[CMake] Searching for multiple libraries using find_library()

2009-05-17 Thread Robert Dailey
I'm creating a find_package module for the TBB library, and it has 2 libs: tbb.lib and tbbmalloc.lib. Both of these are part of TBB, and in my TBB_LIBRARIES variable I want to return both of them. However, I can only search for one of them at a time using find_library(). Is there a way to make it s

Re: [CMake] Adding program arguments for Debug configuration

2009-05-17 Thread John Drescher
On Sun, May 17, 2009 at 7:42 AM, Alexandru Duţu wrote: > Hello, > > I am new to CMake, and I've been searching the web for a solution to this > problem also CMake wiki and I found nothing concludent. > I am using Windows XP SP3 and Visual Studio 2008. > > I am trying to include program arguments i

Re: [CMake] Adding program arguments for Debug configuration

2009-05-17 Thread Dmytro Ovdiienko
Alexandru, Debug parameters are stored to the *.*user file. CMake does not create this file. Suppose you should add this parameters yourself or store user file once and copy it to the vcproj folder. 2009/5/17 Alexandru Duţu > Hello, > > I am new to CMake, and I've been searching the web for a s

Re: [CMake] Compile new language file to object file

2009-05-17 Thread Alexander Neundorf
On Sunday 17 May 2009, James Bigler wrote: > If I have a compiler that can generate object files for later linkage, is > the best way to add support for this in CMake to use the Assembler feature? If it is assembler, yes :-) Otherwise, I'd say no. What language is it ? Alex > http://www.cmake.

Re: [CMake] Problem with FindBoost.cmake

2009-05-17 Thread Robert Dailey
On Sun, May 17, 2009 at 12:16 PM, Philip Lowman wrote: > On Sun, May 17, 2009 at 12:26 AM, Robert Dailey wrote: > >> Hi, >> I have built Boost 1.39 on Windows with static libraries, and they are >> named like so: >> >> libboost_filesystem-mt.lib >> >> When I try to do this: >> >> find_package( Bo

Re: [CMake] Problem with FindBoost.cmake

2009-05-17 Thread Philip Lowman
On Sun, May 17, 2009 at 12:26 AM, Robert Dailey wrote: > Hi, > I have built Boost 1.39 on Windows with static libraries, and they are > named like so: > > libboost_filesystem-mt.lib > > When I try to do this: > > find_package( Boost REQUIRED COMPONENTS filesystem ) > > I get an error saying it co

[CMake] Problem with Xcode generator

2009-05-17 Thread Pim Schellart
I want to use cmake with the Xcode generator in OSX. Xcode 3.1 is installed (OSX 10.5.7) and building the project with the default makefile generator works fine. But if I add the flag -G Xcode to the cmake command I get the following error: Temp $ cmake -G Xcode CMakeLists.txt -- The C compi

[CMake] Adding program arguments for Debug configuration

2009-05-17 Thread Alexandru Duţu
Hello, I am new to CMake, and I've been searching the web for a solution to this problem also CMake wiki and I found nothing concludent. I am using Windows XP SP3 and Visual Studio 2008. I am trying to include program arguments in debug configuration, without arguments I can't debug, normally in