Re: [CMake] Creating a custom target on Windows - strange problem

2006-09-12 Thread Arjen Markus
Brad King wrote: Arjen Markus wrote: add_custom_target(${CMAKE_CURRENT_BINARY_DIR}/${file} ALL [snip] When I run this in ..\build, using cmake -G "NMake makefiles" ..\src [snip] CMake Error: Cannot open file for write: C:/arjen/plplot

Re: [CMake] SDL_LIBRARY_TEMP

2006-09-12 Thread Brandon J. Van Every
E. Wing wrote: I invented SDL_LIBRARY_TEMP as a private hidden variable that I could manipulate as needed. The problem I encountered with using SDL_LIBRARY was that once it was seet by FIND_LIBRARY, any changes I made to it were never reflected in the ccmake GUI. Even though I changed the string

Re: [CMake] Duplicated messages and check for g++

2006-09-12 Thread Alan W. Irwin
On 2006-09-13 11:33+0700 Slava Semushin wrote: Hello! When I run cmake I see following messages: tetaneg% cmake . -- Check for working C compiler: gcc -- Check for working C compiler: gcc -- works -- Check size of void* -- Check size of void* - done -- Check for workin

[CMake] Duplicated messages and check for g++

2006-09-12 Thread Slava Semushin
Hello! When I run cmake I see following messages: tetaneg% cmake . -- Check for working C compiler: gcc -- Check for working C compiler: gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: c++ -- Check for worki

Re: [CMake] SDL_LIBRARY_TEMP

2006-09-12 Thread E. Wing
Date: Mon, 11 Sep 2006 15:27:36 -0700 From: "Brandon J. Van Every" <[EMAIL PROTECTED]> At 06:27 PM 9/11/2006, Brandon J. Van Every wrote: >I'm making a casual effort to build the G3D library, which has CMake support under development. It contains: >INCLUDE (FindSDL) >FIND_PACKAGE(SDL REQUIRED)

Re: [CMake] MSYS EXEC_PROGRAM() or EXECUTE_PROCESS() fails

2006-09-12 Thread Brad King
Brad King wrote: > Peter Visser wrote: >> I just "discovered" cmake, I find cmake easy to setup and it works >> fantastic. >> However, a small problem occurs. I'm using: cmake 2.4-patch3 under >> MSYS-1.0.10. >> >> The problem occurs when using EXEC_PROGRAM() or EXECUTE_PROCESS(). >> Instead of "

Re: [CMake] MSYS EXEC_PROGRAM() or EXECUTE_PROCESS() fails

2006-09-12 Thread Brad King
Peter Visser wrote: > I just "discovered" cmake, I find cmake easy to setup and it works > fantastic. > However, a small problem occurs. I'm using: cmake 2.4-patch3 under > MSYS-1.0.10. > > The problem occurs when using EXEC_PROGRAM() or EXECUTE_PROCESS(). > Instead of "sh.exe" from MSYS being us

[CMake] MSYS EXEC_PROGRAM() or EXECUTE_PROCESS() fails

2006-09-12 Thread Peter Visser
I just "discovered" cmake, I find cmake easy to setup and it works fantastic. However, a small problem occurs. I'm using: cmake 2.4-patch3 under MSYS-1.0.10.  The problem occurs when using EXEC_PROGRAM() or EXECUTE_PROCESS(). Instead of "sh.exe" from MSYS being used to execute the program "cmd.exe

Re: [CMake] Creating a custom target on Windows - strange problem

2006-09-12 Thread Alan W. Irwin
On 2006-09-12 13:05-0400 Brad King wrote: Arjen Markus wrote: add_custom_target(${CMAKE_CURRENT_BINARY_DIR}/${file} ALL [snip] When I run this in ..\build, using cmake -G "NMake makefiles" ..\src [snip] CMake Error: Cannot open file for write: C:/arjen/plplot-5.6.1-cmake/testcbs/bui

Re: [CMake] Converting existing XCode project into CMake

2006-09-12 Thread Michael Casadevall
Unfortunately, you have to do it by hand by writing the new CMakeLists.txt files. Once you do that, you can generate an XCode build file from CMake, but you can't do the reverse. Michael On Sep 12, 2006, at 10:14 AM, Thangaraj Umapathy wrote: Hi All, I am new to CMake. I want know how to co

Re: [CMake] Creating a custom target on Windows - strange problem

2006-09-12 Thread Brad King
Arjen Markus wrote: > add_custom_target(${CMAKE_CURRENT_BINARY_DIR}/${file} ALL [snip] > When I run this in ..\build, using > cmake -G "NMake makefiles" ..\src [snip] > CMake Error: Cannot open file for write: > C:/arjen/plplot-5.6.1-cmake/testcbs/build/CMakeFiles/C:/arjen/plplot-5.6.1-cmak

[CMake] Creating a custom target on Windows - strange problem

2006-09-12 Thread Arjen Markus
Hello all, in the PLplot project I have run into the following problem: to test the build against one set of examples we need to copy them at CMake configuration time into the build directory. All seems to go well, but when the actual makefiles are generated I get error messages about CMake not be

Re: [CMake] SDL_LIBRARY_TEMP

2006-09-12 Thread William A. Hoffman
At 06:27 PM 9/11/2006, Brandon J. Van Every wrote: >I'm making a casual effort to build the G3D library, which has CMake support >under development. It contains: >INCLUDE (FindSDL) >FIND_PACKAGE(SDL REQUIRED) > >I have SDL binaries for VS7.1 on my system in E:\devel\vs71\SDL-1.2.11. >CMakeSetup

Re: [CMake] Converting existing XCode project into CMake

2006-09-12 Thread William A. Hoffman
At 10:14 AM 9/12/2006, Thangaraj Umapathy wrote: >Hi All, > >I am new to CMake. I want know how to convert my >existing XCode project into CMake. Is there any way in >CMake to do this job? If yes, can you please tell me >the way? There is no automatic way. You have to write CMakeLists.txt files

[CMake] Converting existing XCode project into CMake

2006-09-12 Thread Thangaraj Umapathy
Hi All, I am new to CMake. I want know how to convert my existing XCode project into CMake. Is there any way in CMake to do this job? If yes, can you please tell me the way? Regards, tuma __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best