Re: [CMake] Cygwin cmake generating MSVC projects

2008-01-10 Thread Werner Smekal
Hi, it is possible to use the Microsoft tool chain with cygwin make files with the wgcc cross compiler tool. http://interix-wgcc.sourceforge.net/index.html Quote: Even though wgcc was written for Interix only, it can be used on native Windows (without Interix), and other Systems, like

[CMake] Unix Makefiles under Windows

2008-01-10 Thread Ivan Chupahin
I need to generate Unix Makefiles under Windows for usage in Eclipse. If i run CMake follows: cmake -G Unix Makefiles it happens error: CMake Error: CMake was unable to find a build program corresponding to Unix Makefiles. CMAKE_MAKE_PROGRAM is not set. What should I do to circumvent this problem?

Re: [CMake] Unix Makefiles under Windows

2008-01-10 Thread Bill Hoffman
Ivan Chupahin wrote: I need to generate Unix Makefiles under Windows for usage in Eclipse. If i run CMake follows: cmake -G Unix Makefiles it happens error: CMake Error: CMake was unable to find a build program corresponding to Unix Makefiles. CMAKE_MAKE_PROGRAM is not set. What should I do to

[CMake] Newbie question: generated header file howto

2008-01-10 Thread Pacesie
Hello, In my C++ program I want to auto-generate a header ( .h ) file, which is included in most sources. I use ADD_CUSTOM_COMMAND to generate it, but I don't know how to neatly write the dependency to it. I could use ADD_DEPENDENCY to add the generated header to all final targets, but it will

[CMake] Installtion problem on Sun

2008-01-10 Thread Hans.Rijneke
L.S., Trying to install cmake on a sun (SunOS kseu1180.europe.shell.com 5.8 Generic_117350-26 sun4u sparc SUNW,Sun-Blade-1000), I got the next error : [ 7%] Building C object Source/kwsys/CMakeFiles/testFail.dir/testFail.o Linking C executable ../../bin/testFail [ 7%] Built target testFail

Re: [CMake] Newbie question: generated header file howto

2008-01-10 Thread Bill Hoffman
Pacesie wrote: Hello, In my C++ program I want to auto-generate a header ( .h ) file, which is included in most sources. I use ADD_CUSTOM_COMMAND to generate it, but I don't know how to neatly write the dependency to it. Add the .h file as a source file of the target that uses it. -Bill

[CMake] Support for vcbuild in cmake

2008-01-10 Thread Reggie Burnett
Is there support for using vcbuild from the windows sdk with cmake? AIUI, vcbuild is a tool that supports the vcproj file format but without having to have visual studio installed. Is there a way to tell cmake to generate vcproj files even though visual studio is not installed?

Re: [CMake] Installtion problem on Sun

2008-01-10 Thread Bill Hoffman
[EMAIL PROTECTED] wrote: L.S., Trying to install cmake on a sun (SunOS kseu1180.europe.shell.com 5.8 Generic_117350-26 sun4u sparc SUNW,Sun-Blade-1000), I got the next error : [ 7%] Building C object Source/kwsys/CMakeFiles/testFail.dir/testFail.o Linking C executable ../../bin/testFail [

Re: [CMake] override CMAKE_COMMAND

2008-01-10 Thread Bill Hoffman
Levy, Chen wrote: Hello, List. I have CMake v2.4.7 running on SunOS 5.8 from the binary SunOS tar.gz file, but I was unable to patch the libCrun.so.1 libCstd.so.1 on that box. So here what I have done: 0. I have put the CMake distributions in: /some/path/cmake 1. I have copied correct

Re: [CMake] Newbie question: generated header file howto

2008-01-10 Thread Pacesie
On Jan 10, 2008 11:50 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Pacesie wrote: Hello, In my C++ program I want to auto-generate a header ( .h ) file, which is included in most sources. I use ADD_CUSTOM_COMMAND to generate it, but I don't know how to neatly write the dependency to it.

Re: [CMake] Newbie question: generated header file howto

2008-01-10 Thread Alan W. Irwin
On 2008-01-11 08:05+1100 Pacesie wrote: If I want to generate document files as part of the build, should I first create an ADD_CUSTOM_TARGET then have it depends on the generated files defined by ADD_CUSTOM_COMMAND? ( It would be nice if file generation can be defined as a target so the extra