Re: [CMake] CDash Dynamic Analysis

2011-05-01 Thread Mika . Rajala
Hi Am I asking my questions in the wrong place? Is my question stupid and/or I should find answers from documentation / internet? -mika From: mika.raj...@patria.fi To: mika.raj...@patria.fi Cc: cmake@cmake.org, cmake-boun...@cmake.org Date: 28.04.2011 07:50 Subject:Re: [

Re: [CMake] [CMake General][FindBoost] CMake and Boost 1.46.1

2011-05-01 Thread Robert Nelson
> try ... setting Boost_DEBUG On Great suggestion! I looked at the debug output as you recommended and discovered that findboost only searches for filenames that start with "boost" while all the files in the lib directory start with "libboost" I copied and renamed the regex files in the lib dire

Re: [CMake] If syntax

2011-05-01 Thread Michael Wild
On 05/01/2011 10:30 PM, David Doria wrote: > According to this: > http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:if > > the syntax is: > > if(expression) > ... > elseif(expression2) > ... > else(expression) > ... > endif(expression) > > I was recently made aware

Re: [CMake] [CMake General][FindBoost] CMake and Boost 1.46.1

2011-05-01 Thread Philip Lowman
FindBoost is a bit of a pain to get working. I'm wondering if the REQUIRED and 1.46 in the find_package() is causing it to skip 1.46.1? You could clear your cache and try changing the version to 1.46.1 or remove the REQUIRED. If that's not it, try clearing your cache, setting Boost_DEBUG On and

Re: [CMake] [CMake General][FindBoost] CMake and Boost 1.46.1

2011-05-01 Thread Robert Nelson
I just tried adding SET(Boost_ADDITIONAL_VERSIONS 1.46.1) clearing the cache, and running configure again. I still get the same error message as before. While I agree that your addition is necessary to make it work, it seems that something else is also needed. PROJECT(schema) cmake_minimum_requ

[CMake] If syntax

2011-05-01 Thread David Doria
According to this: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:if the syntax is: if(expression) ... elseif(expression2) ... else(expression) ... endif(expression) I was recently made aware that: if(expression) ... elseif(expression2) ... else()

[CMake] Documentation suggestion

2011-05-01 Thread David Doria
On this page: http://www.cmake.org/cmake/help/cmake-2-8-docs.html there are many "See XYZ" statements. E.g. - else: Starts the else portion of an if block. else(expression) See the if command. - It would be very helpful if these were linked to the anchor of that command, e.g.: See t

[CMake] how to build a target after installing dependencies?

2011-05-01 Thread hurcan solter
Hi all I have a project that depends on some contrib libraries (SDL png etc..). If I can't find the dependencies through FindXXX macros I build them myself (wrote CMakeLists for dependencies) and link to the project, also setting the include directories(SDL_INCLUDE_DIR in spirit of FindXXX macro

Re: [CMake] Generated Source Files

2011-05-01 Thread Michael Hertling
On 05/01/2011 11:16 AM, Toralf Niebuhr wrote: > Hi. > > I've got the following problem: > > I've got a CMake Project with the following directory structure: > > project/src > project/include > project/resources > > In the directory project/resources/ is a file res.gen. > I have a command that g

Re: [CMake] [CMake General][FindBoost] CMake and Boost 1.46.1

2011-05-01 Thread Rolf Eike Beer
Am Samstag, 30. April 2011, 22:23:00 schrieb Robert Nelson: > I have used CMake for a while under Linux, but until recently never > really tried to make CMakelists truly cross platform. I would like to > use CMake with Boost 1.46.1 under windows 7 > I installed boost by downloading the zip and run

[CMake] Generated Source Files

2011-05-01 Thread Toralf Niebuhr
Hi. I've got the following problem: I've got a CMake Project with the following directory structure: project/src project/include project/resources In the directory project/resources/ is a file res.gen. I have a command that generates res.cpp and res.h files from it. I want the .cpp files to be