Re: [CMake] ctest-2.6.4 and ctest 2.8.0 - LIST(FIND ...) always returns -1

2009-12-11 Thread Clemens Arth
} INDEX) Probably someone should include a small example in the documentation for clearance. Regards Clemens Am 11.12.2009 12:10, schrieb Clemens Arth: > Sorry for the typos, > > I tested it with 2.6.4 and 2.8.0; > The return value is (separated by ; not ,) > > "Index of

Re: [CMake] ctest-2.6.4 and ctest 2.8.0 - LIST(FIND ...) always returns -1

2009-12-11 Thread Clemens Arth
Sorry for the typos, I tested it with 2.6.4 and 2.8.0; The return value is (separated by ; not ,) "Index of "foo" in list "foo;bar" is -1" Regards Am 11.12.2009 12:06, schrieb Clemens Arth: > Hi, > > probably I did something wrong, but with both ctest

[CMake] ctest-2.6.4 and ctest 2.6.8 - LIST(FIND ...) always returns -1

2009-12-11 Thread Clemens Arth
Hi, probably I did something wrong, but with both ctest 2.6.4 and 2.8.0 the following is not working: SET(MYLIST foo bar) SET(ITEM2FIND foo) LIST(FIND "${MYLIST}" "${ITEM2FIND}" INDEX) MESSAGE(FATAL_ERROR "Index of \"${ITEM2FIND}\" in list \"${MYLIST}\" is ${INDEX}") always returns "Inde

[CMake] IPhone SDK and Frameworks

2009-10-16 Thread Clemens Arth
Hi, I know this topic comes up now and then, but I could not find a sufficiently documented solution to this issue yet. I still think the know-how must be out there. I wanted to set up a project to build on the iPhone or the iPhone simulator with XCode. What I found to be most informative are thes

Re: [CMake] WinCE Support

2009-05-02 Thread Clemens Arth
Hi again, however, I've now uploaded a patch for 2.6.4 now. http://public.kitware.com/Bug/view.php?id=8102 kind regards Clemens Clemens Arth schrieb: Hi, as 2.6.4 was released yesterday I wanted to ask you what you think is the best way to port the current patches forward from 2.6.

Re: [CMake] WinCE Support

2009-05-02 Thread Clemens Arth
Hi, as 2.6.4 was released yesterday I wanted to ask you what you think is the best way to port the current patches forward from 2.6.3. Do you want to further support my stuff which you have already integrated into your patch yourself, or do you think it would be better to port the stuff forwa

Re: [CMake] WinCE Support

2009-04-16 Thread Clemens Arth
Alexey Sariy schrieb: Andreas Pokorny wrote: Hi, 2009/4/16 Alexey Sariy : Hello all. Please see another implementation of WinCE projects generator here http://www.vtk.org/Bug/view.php?id=8486 . Hi Alexey, thanks for pointing us to your solution to the problem that - at least me - mi

Re: [CMake] WinCE Support

2009-04-15 Thread Clemens Arth
Andreas Pokorny schrieb: 2009/4/15 Clemens Arth : That's a great idea actually, but I already mentioned exactly this about 9 months ago when we started the discussion. It would definitely be the best solution, but at that time I could not figure out how to do it in a clever way because

Re: [CMake] WinCE Support

2009-04-15 Thread Clemens Arth
Andreas Pokorny schrieb: Hi, 2009/4/15 Clemens Arth : [...] In my case for example, I build it for Win32 and Windows Mobile 5 in separate directories which works great. If you install an SH4 SDK and an ARM SDK, preconfigure the cache files and configure/build in separate directories with

Re: [CMake] WinCE Support

2009-04-15 Thread Clemens Arth
ed), it is still not possible to use it because it does not include the compilers for smart devices. In my opinion this means that it is useless to try cross-compiling on windows anyway if you just got the Express versions and not professional, team or whatever. Clemens Clemens Arth schrieb: Hi

Re: [CMake] WinCE Support

2009-04-15 Thread Clemens Arth
Hi, well, I have not tested it with the Express versions of 2005 or 2008 (I think Microsoft already stopped support of Express 2005, so there is only Express 2008 left). I will try to get it to run with an Express Version of 2008, although I have no idea of support for Windows Mobile devices

Re: [CMake] WinCE Support

2009-03-30 Thread Clemens Arth
Bill Hoffman schrieb: Andreas Pokorny wrote: Hello, 2009/3/23 Bill Hoffman : [..] Basically, something that runs the new code. Compile a WinCE project, and somehow verify that it compiled it correctly. So we need a couple of source files that pull in at least some basic API headers.. and a

Re: [CMake] Custom Build Type GCC on Linux

2009-03-23 Thread Clemens Arth
Clemens Arth wrote: Hi, I got a rather simple question. To add some special optimization flags to a custom build for one of our projects, I followed the guide to add a custom build type to my project using the example found here: http://www.cmake.org/Wiki/CMake_FAQ

[CMake] Custom Build Type GCC on Linux

2009-03-23 Thread Clemens Arth
Hi, I got a rather simple question. To add some special optimization flags to a custom build for one of our projects, I followed the guide to add a custom build type to my project using the example found here: http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_with_a_custom_

Re: [CMake] WinCE Support

2009-03-23 Thread Clemens Arth
Bill Hoffman wrote: Andreas Pokorny wrote: Hi, Any news from the WinCE Support front? There are four patch tickets in mantis: http://cmake.org/Bug/view.php?id=7919 http://cmake.org/Bug/view.php?id=8486 http://cmake.org/Bug/view.php?id=8102 http://cmake.org/Bug/view.php?id=7434 Are there any

Re: [CMake] bug in ctest (2.6.3)?

2009-03-04 Thread Clemens Arth
2.6.3 On Wed, Mar 4, 2009 at 12:11 PM, Clemens Arth <mailto:clemens.a...@gmx.at>> wrote: Bill Hoffman wrote: Clemens Arth wrote: thanks for having a look at this issue. I get an error because I have SET (CTEST_TRIGGER_SITE "

Re: [CMake] bug in ctest (2.6.3)?

2009-03-04 Thread Clemens Arth
Bill Hoffman wrote: Clemens Arth wrote: thanks for having a look at this issue. I get an error because I have SET (CTEST_TRIGGER_SITE "not used") in my script, which causes an error in any case (resolving "not used"). However, I think this is the default value to set i

Re: [CMake] bug in ctest (2.6.3)?

2009-03-04 Thread Clemens Arth
Bill Hoffman wrote: Clemens Arth wrote: Until now, this worked well, but now it seems that CTEST_RUN_SCRIPT is only called once and, not as expected, multiple times one after each other. I guess this is not the intended behaviour... Can anyone reproduce this? I reproduced it. I think I

[CMake] bug in ctest (2.6.3)?

2009-03-03 Thread Clemens Arth
Hi guys, by now I was working with 2.6.2 and used a script to run multiple builds/tests sequentially with the following structure: ... # run for the first time SET(CTEST_SOURCE_DIRECTORY "${SOURCEROOTABS}") SET(CTEST_BINARY_DIRECTORY

Re: [CMake] parsing config.h files and setting cmake variables accordingly

2009-02-16 Thread Clemens Arth
Cheers --- Mike Jackson www.bluequartz.net On Feb 16, 2009, at 5:32 AM, Clemens Arth wrote: Hi again, now I have followed exactly that way and created a config.cmake file, which is translated into a config.h file. This approach works perfectly well on Linux and everything immediately re

Re: [CMake] parsing config.h files and setting cmake variables accordingly

2009-02-16 Thread Clemens Arth
t which options they want to compile with. Then "configure_file" to create your config.h file. --- Mike Jackson www.bluequartz.net On Feb 13, 2009, at 7:45 AM, Clemens Arth wrote: Hello, the config files were written some years ago simply to collect all the possibi

Re: [CMake] parsing config.h files and setting cmake variables accordingly

2009-02-13 Thread Clemens Arth
, I don't know (the only thing I can come with at this moment to survive additional spaces, etc are regular expressions). On Fri, Feb 13, 2009 at 1:10 PM, Clemens Arth wrote: Hi, thanks for the hint, but my problem is exactly the opposite of the one configure_file is solving. I'm alr

Re: [CMake] parsing config.h files and setting cmake variables accordingly

2009-02-13 Thread Clemens Arth
y I don't think configure_file. Regards Clemens Pau Garcia i Quiles wrote: Hello, Take a look at CONFIGURE_FILE On Fri, Feb 13, 2009 at 12:46 PM, Clemens Arth wrote: Hi, I've got a question concerning string processing in cmake. Our software framework consists of multiple librari

[CMake] parsing config.h files and setting cmake variables accordingly

2009-02-13 Thread Clemens Arth
Hi, I've got a question concerning string processing in cmake. Our software framework consists of multiple libraries and has many different features to be enabled or disabled using #defines. For example, one option is to compile with OpenGL or with OpenGL ES support. Thus in a config.h file

Re: [CMake] Changing GCC_INPUT_TYPE for Mac

2009-01-12 Thread Clemens Arth
Hi Michael, thanks for the fast reply. I'll test that tomorrow. Regards Clemens Michael Wild schrieb: On 12. Jan, 2009, at 15:12, Clemens Arth wrote: Hi, is there a possibility to change the type of a file from a CMakeLists.txt file for Xcode? What I want to do is compiling a sim

[CMake] Changing GCC_INPUT_TYPE for Mac

2009-01-12 Thread Clemens Arth
Hi, is there a possibility to change the type of a file from a CMakeLists.txt file for Xcode? What I want to do is compiling a simple c++ file as objective-c++ instead of c++. As default mode, Xcode chooses the file extension to figure out what type the file is, but I want to avoid changing t

Re: [CMake] strange behaviour of TARGET_LINK_LIBRARIES debug/optimized on MacOS

2008-12-10 Thread Clemens Arth
Clemens Arth wrote: Hi, Original-Nachricht Datum: Wed, 10 Dec 2008 13:45:05 +0100 Von: Hendrik Sattler <[EMAIL PROTECTED]> An: cmake@cmake.org Betreff: Re: [CMake] strange behaviour of TARGET_LINK_LIBRARIES debug/optimized on MacOS Am Wednesday 10 De

Re: [CMake] strange behaviour of TARGET_LINK_LIBRARIES debug/optimized on MacOS

2008-12-10 Thread Clemens Arth
er 2008 13:23:04 schrieb Clemens Arth: > > Clemens Arth wrote: > > > before I submit a bug report I wanted to ask you about some strange > > > behaviour of TARGET_LINK_LIBRARIES on MacOS 10.5 and CMake 2.6-2; > > > > > > A library is created for debug an

Re: [CMake] strange behaviour of TARGET_LINK_LIBRARIES debug/optimized on MacOS

2008-12-10 Thread Clemens Arth
Clemens Arth wrote: Hi, before I submit a bug report I wanted to ask you about some strange behaviour of TARGET_LINK_LIBRARIES on MacOS 10.5 and CMake 2.6-2; A library is created for debug and release, named libFooD.dylib and libFoo.dylib respectively. This works well. Then I create another

[CMake] strange behaviour of TARGET_LINK_LIBRARIES debug/optimized on MacOS

2008-12-10 Thread Clemens Arth
Hi, before I submit a bug report I wanted to ask you about some strange behaviour of TARGET_LINK_LIBRARIES on MacOS 10.5 and CMake 2.6-2; A library is created for debug and release, named libFooD.dylib and libFoo.dylib respectively. This works well. Then I create another library in the follo

[CMake] generating vdproj and vddproj deployment projects in visual studio

2008-11-15 Thread Clemens Arth
Hi, Recently I've written generators for building project files for smart devices. Now I'm thinking about generating additional targets in cmake to automatically create deployment projects for visual studio. I'm talking about projects with "vdproj" and "vddproj" as file extension that are, fo

Re: [CMake] Updated WinCE CMakefiles

2008-10-09 Thread Clemens Arth
_FLAGS_{configname} scheme for SET_TARGET_PROPERTIES? Please review! kind regards Clemens Andreas Pokorny wrote: Hello Clemens, 2008/9/30 Clemens Arth <[EMAIL PROTECTED]>: [...] I further modified your WinCE.cmake(-cl) configuration to WM5.cmake(-cl) to contain additional

Re: [CMake] Updated WinCE CMakefiles

2008-10-02 Thread Clemens Arth
retty neat solution now ;-) kind regards Clemens Andreas Pokorny schrieb: Hello Clemens, 2008/9/30 Clemens Arth <[EMAIL PROTECTED]>: [...] I further modified your WinCE.cmake(-cl) configuration to WM5.cmake(-cl) to contain additional flags needed. Also a cached variable PLATFORM_SDKS is u

Re: [CMake] Updated WinCE CMakefiles

2008-09-30 Thread Clemens Arth
Hi, Andreas Pokorny schrieb: Hello Clemens, I still try to get some time slot to try your patches here. Since we do not have that many 2005 licenses, I cannot do that as a kind of submarine project :). 2008/9/30 Clemens Arth <[EMAIL PROTECTED]>: Andreas, I had a look at your mo

Re: [CMake] Updated WinCE CMakefiles

2008-09-30 Thread Clemens Arth
Andreas, I had a look at your modified files and, like the old ones, they seem to work quite well. However, there are some things that are somehow unclear to me or cause problems here: First, in WinCE.cmake, you replace the decimal string of the system version CMAKE_SYSTEM_VERSION, which doe

Re: [CMake] Updated WinCE CMakefiles

2008-09-22 Thread Clemens Arth
Hi again Or we let the user set n-different toolchain files each identifying an individual SDK (or maybe no toolchain files, just SDKs), and execute the CMakelists multiple times using separate CMakeCaches. that was definitely a good idea. Now I've predefined the names of several different

Re: [CMake] Updated WinCE CMakefiles

2008-09-21 Thread Clemens Arth
Hi, Andreas Pokorny schrieb: Hello, 2008/9/19 Clemens Arth <[EMAIL PROTECTED]>: [...] I completely agree with you about the issue of adding and removing individual files within a single solution, and I think the entire hack is not a good solution. I would also prefer using an indi

Re: [CMake] CTest and multiple platform configurations

2008-09-19 Thread Clemens Arth
of the -C option is missing but I can't find the error. Can someone please verify this behaviour such that I can finally report it as a bug? For those trying it with Visual Studio they will experience the same - it works for a Release build, but fails for Debug. Regards Clemens Clemen

Re: [CMake] Updated WinCE CMakefiles

2008-09-19 Thread Clemens Arth
Andreas, well, considering the first issue I usually hoped that this might be solved by Visual Studio somehow automatically by some internal magic. After a cleanup of the WinCE.cmake and WinCE-cl.cmake a.s.o. these files should mainly contain settings which are universal to all SDKs (I wonder

[CMake] CTest and multiple platform configurations

2008-09-18 Thread Clemens Arth
Hi, I'm currently trying to set up ctest to work with multiple configurations. One issue I came across is the way of using ctest with different platform configurations. For example, my configuration does not only include Release|Win32 and Debug|Win32, but also Release|Pocket PC 2003 (ARMV4) a

[CMake] ctest and multiple configurations

2008-09-18 Thread Clemens Arth
Hi, I'm currently trying to set up ctest to work with multiple configurations. One issue I came across is the way of using ctest with different platform configurations. For example, my configuration does not only include Release|Win32 and Debug|Win32, but also Release|Pocket PC 2003 (ARMV4) and

Re: [CMake] Visual Studio and Windows Mobile SDKs

2008-07-07 Thread Clemens Arth
43 +0200 > Von: Alexander Neundorf <[EMAIL PROTECTED]> > An: cmake@cmake.org > Betreff: Re: [CMake] Visual Studio and Windows Mobile SDKs > On Friday 04 July 2008, Clemens Arth wrote: > > Hi, > > > > here's a short progress report. I've now managed to get

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]> >

Re: [CMake] Visual Studio and Windows Mobile SDKs

2008-07-04 Thread Clemens Arth
lemens Original-Nachricht > Datum: Tue, 01 Jul 2008 11:03:05 -0400 > Von: Bill Hoffman <[EMAIL PROTECTED]> > An: Andreas Pokorny <[EMAIL PROTECTED]> > CC: cmake@cmake.org, [EMAIL PROTECTED], Clemens Arth <[EMAIL PROTECTED]> > Betreff: Re: [CMake

Re: [CMake] Visual Studio and Windows Mobile SDKs

2008-07-01 Thread Clemens Arth
lchain file should be sufficient to run cmake without recompiling it from source. However, I'm not sure if this is possible, and I'd appreciate if someone would comment on that. Regards Clemens Original-Nachricht ---- > Datum: Tue, 1 Jul 2008 11:39:33 +0200 > Von: &q

[CMake] Fwd: Re: Visual Studio and Windows Mobile SDKs

2008-07-01 Thread Clemens Arth
Original-Nachricht Datum: Tue, 01 Jul 2008 12:09:33 +0200 Von: "Clemens Arth" <[EMAIL PROTECTED]> An: "Andreas Pokorny" <[EMAIL PROTECTED]> Betreff: Re: [CMake] Visual Studio and Windows Mobile SDKs Hi Andreas, I changed the configuration by ha

Re: [CMake] Visual Studio and Windows Mobile SDKs

2008-07-01 Thread Clemens Arth
Hi again, > I took a look at your files and I think you have done a pretty good job > and that should work out well. For some reason I had to force the compiler > setting to be MSVC, because cmake did not set it automatically. I also had to force the CXX compiler setting to MSVC. > However, the

Re: [CMake] Visual Studio and Windows Mobile SDKs

2008-06-30 Thread Clemens Arth
Hi, I took a look at your files and I think you have done a pretty good job and that should work out well. For some reason I had to force the compiler setting to be MSVC, because cmake did not set it automatically. cmake --try-compile -DCMAKE_TOOLCHAIN_FILE="C:/Program Files/CMake 2.6/share/c

Re: [CMake] Visual Studio and Windows Mobile SDKs

2008-06-30 Thread Clemens Arth
Hi, > What is the difference between all these different windows CE systems? > I.e. is windows > mobile 5 the same as windows ce 5? well, I'm not sure if they are the same. Windows mobile 5 and 6 sdks are available in different packages (standard and professional), but each of them allows for "

[CMake] Visual Studio and Windows Mobile SDKs

2008-06-26 Thread Clemens Arth
Hi, I'm currently trying to setup cmake for creating visual studio 2005/2008 solution files linking against windows mobile 5/6. I've read a few postings from September-November 2007 about that issues, but I finally did not find a closed-form solution to this. Has anyone worked around all the

Fwd: Re: [CMake] Running cmake to create binaries on a VFAT partition (LINUX)

2007-08-19 Thread Clemens Arth
more than once... Clemens Original-Nachricht Datum: Sat, 18 Aug 2007 11:56:59 -0400 Von: Bill Hoffman <[EMAIL PROTECTED]> An: Clemens Arth <[EMAIL PROTECTED]> CC: cmake@cmake.org Betreff: Re: [CMake] Running cmake to create binaries on a VFAT partition (LINUX) Cle

Re: [CMake] Running cmake to create binaries on a VFAT partition (LINUX)

2007-08-18 Thread Clemens Arth
00 Von: Hendrik Sattler <[EMAIL PROTECTED]> An: cmake@cmake.org Betreff: Re: [CMake] Running cmake to create binaries on a VFAT partition (LINUX) Am Samstag 18 August 2007 09:54 schrieb Clemens Arth: > Any ideas? I'm running UBUNTU 7.04 and the actual cmake 2.4.6; I've >

[CMake] Running cmake to create binaries on a VFAT partition (LINUX)

2007-08-18 Thread Clemens Arth
Hi everybody, for convenience I've located my Cmake projects on a vfat partition of my hard disk, so I can access it from Linux and Windows without problems. When I'm running on Linux, and I'm trying to call cmake on the vfat partition, so that the binaries should also be created on that part