Re: [CMake] ADD_TEST comparing the command input with a file content

2008-07-04 Thread Alan W. Irwin
On 2008-07-04 12:08+0200 William Candillon wrote: Hi, I'm using the ADD_TEST command to test the output of my executable like this: ADD_TEST(test mycommand) SET_TEST_PROPERTIES(test PROPERTIES PASS_REGULAR_EXPRESSION "foo") However, I would like to compare the output with the content of a file

Re: [CMake] find_package REQUIRED

2008-07-04 Thread Miguel A. Figueroa-Villanueva
On Fri, Jul 4, 2008 at 10:17 AM, Alexander Bubnov wrote: > Hello! > I am exploring cmake features. Now I have stopped at find_package, > REQUIRED parameter. As I can see from manual: > > "The REQUIRED option stops processing with an > error message if the package cannot be found." > (cmake 2.6

Re: [CMake] Why I cannot build a dll that embeds perl with cmake?

2008-07-04 Thread Georgios Petasis
O/H Georgios Petasis έγραψε: O/H Georgios Petasis έγραψε: Hi all, I have some C code that embeds perl into a C application. If I compile my code with: cl.exe and then: link the resulting dll works. But if I compile it with cmake, my code always crashes, because a perl structure (a globa

Re: [CMake] Why I cannot build a dll that embeds perl with cmake?

2008-07-04 Thread Georgios Petasis
O/H Georgios Petasis έγραψε: Hi all, I have some C code that embeds perl into a C application. If I compile my code with: cl.exe and then: link the resulting dll works. But if I compile it with cmake, my code always crashes, because a perl structure (a global pointer) is left uninitiali

Re: [CMake] CPack components need to be in global scope

2008-07-04 Thread Doug Gregor
On Thu, Jul 3, 2008 at 6:38 PM, Miguel A. Figueroa-Villanueva <[EMAIL PROTECTED]> wrote: > Currently the CPack component features depend on some variables such as: > > CPACK_COMPONENTS_ALL > CPACK_COMPONENT_${CNAME}_GROUP > ... > > These variables are typically easier to set at the point where you

[CMake] find_package REQUIRED

2008-07-04 Thread Alexander Bubnov
Hello! I am exploring cmake features. Now I have stopped at find_package, REQUIRED parameter. As I can see from manual: "The REQUIRED option stops processing with an error message if the package cannot be found." (cmake 2.6-patch 0) My CMakeLists.txt looks like: cmake_minimum_required(VERSI

Re: [CMake] How to set platform-specific compiler-options from within CMakeFiles

2008-07-04 Thread Philip Lowman
On Thu, Jul 3, 2008 at 9:10 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > Philip Lowman wrote: > > Wow this is an old thread. Sorry for the late response. >> >> I think what's needed here is a way to detect the platform and allow >> people to modify CMAKE_CXX_FLAGS and friends before they get ce

Re: [CMake] ADD_TEST comparing the command input with a file content

2008-07-04 Thread Bill Hoffman
William Candillon wrote: Hi, I'm using the ADD_TEST command to test the output of my executable like this: ADD_TEST(test mycommand) SET_TEST_PROPERTIES(test PROPERTIES PASS_REGULAR_EXPRESSION "foo") However, I would like to compare the output with the content of a file. Is there a platform inde

Re: [CMake] FindBoost.cmake from 2.6

2008-07-04 Thread Fernando Cacciola
Doug Gregor wrote: On Thu, Jul 3, 2008 at 6:33 PM, Fernando Cacciola <[EMAIL PROTECTED]> wrote: OK, I found the problem today. The version is parsed (from version.hpp) into a variable named Booist_MAJOR_VERSION (et al) But the comparison code incorrectly uses Boost_VERSION_MAJOR. (Haven't tryed

Re: [CMake] FindBoost.cmake from 2.6

2008-07-04 Thread Fernando Cacciola
Andreas Pakulat wrote: On 03.07.08 19:40:29, Fernando Cacciola wrote: On 03.07.08 12:23:11, Doug Gregor wrote: On Tue, Jul 1, 2008 at 1:24 PM, Fernando Cacciola <[EMAIL PROTECTED]> wrote: (7) I couldn't understand the dicotomy between the cached and non-cached versions of the include dirs: B

[CMake] ADD_TEST comparing the command input with a file content

2008-07-04 Thread William Candillon
Hi, I'm using the ADD_TEST command to test the output of my executable like this: ADD_TEST(test mycommand) SET_TEST_PROPERTIES(test PROPERTIES PASS_REGULAR_EXPRESSION "foo") However, I would like to compare the output with the content of a file. Is there a platform independent way to do that with

[CMake] CTEST_UPDATE and switched directories

2008-07-04 Thread Milan Dorak
Hey guyz, in my project i have some directories switched to other SVN repository. CTEST_UPDATE marked them as updated, this makes continuous test useless - it just runs every 10 minutes. Any suggestions ? ___ CMake mailing list CMake@cmake.org http://

Re: [CMake] Visual Studio and Windows Mobile SDKs

2008-07-04 Thread Clemens Arth
Original-Nachricht > Datum: Fri, 4 Jul 2008 09:31:13 +0200 > Von: "Andreas Pokorny" <[EMAIL PROTECTED]> > An: "Clemens Arth" <[EMAIL PROTECTED]> > CC: cmake@cmake.org, [EMAIL PROTECTED], Bill Hoffman <[EMAIL PROTECTED]> > Betreff: Re: [CMake] Visual Studio and Windows Mobile SDKs

Re: [CMake] FindBoost.cmake from 2.6

2008-07-04 Thread Andreas Pakulat
On 03.07.08 19:40:29, Fernando Cacciola wrote: >> On 03.07.08 12:23:11, Doug Gregor wrote: >>> On Tue, Jul 1, 2008 at 1:24 PM, Fernando Cacciola >>> <[EMAIL PROTECTED]> wrote: (7) I couldn't understand the dicotomy between the cached and non-cached versions of the include dirs:

Re: [CMake] Visual Studio and Windows Mobile SDKs

2008-07-04 Thread Andreas Pokorny
Hi there, 2008/7/4 Clemens Arth <[EMAIL PROTECTED]>: > Hi, > > here's a short progress report. I've now managed to get my project compiled > with > Visual Studio 2008 with and without support for Windows Mobile 5 SDK; I > basically > managed that by compiling cmake from scratch, introducing a ne

Re: [CMake] Visual Studio and Windows Mobile SDKs

2008-07-04 Thread Clemens Arth
Hi, here's a short progress report. I've now managed to get my project compiled with Visual Studio 2008 with and without support for Windows Mobile 5 SDK; I basically managed that by compiling cmake from scratch, introducing a new proprietary generator into the sources (cmGlobalVisualStudio9_W