[CMake] CMake 2.4.2 Cygwin shouldn't have -ldl

2006-05-31 Thread Brandon J. Van Every
I built a CMake 2.4.2 for Cygwin from sources. I used the "Unix linefeed" download, cmake-2.4.2.tar.gz. I used an earlier Cygwin CMake package to build it. Now I am using this Cygwin CCMake 2.4.2 to generate my Chicken build. When it comes time to link a .dll, it fails with: Linking C sha

[CMake] Feature request: MESSAGE(WARNING ...)

2006-05-31 Thread Brandon J. Van Every
I would like a MESSAGE(WARNING ...) feature. This would pop up a dialog box in CMakeSetup, or readily appear in a display on CCMake, but it wouldn't skip the generation. It would get the user's attention that there's something not quite right about what's going to happen with the build, but t

RE: [CMake] Digital Mars

2006-05-31 Thread James Mansion
Do you actually need to add -L? I think if you have: link a.obj c:\foo bar.lib (and c:\foo is a directory) then it will look for bar.lib in c:\foo. Haven't tried myself, but recently I recall seeing the thread started here: http://www.digitalmars.com/drn-bin/wwwnews?c%2B%2B.command-line/639 a

Re: [CMake] Assembler files

2006-05-31 Thread Brad King
James Mansion wrote: I'd like to create a library from a mix of assembler and C files. I'm reading the book to try to determine how to achieve this. There seems to be perhaps two possible approaches. (Initially this is for Win32, and I have files for NASM and MASM with extensions .nasm and .ma

Re: [CMake] Building a Release Version in MSVC6

2006-05-31 Thread Brad King
Ben Larson wrote: Is the correct way to tell MSVC6 to build a release version of my project to use the command SET (CMAKE_BUILD_TYPE Release) in the CMakeLists.txt file? No. CMAKE_BUILD_TYPE is used to select the configuration for single-configuration generators such as Makefiles. The VS6 g

Re: [CMake] conflict between CMake 2.4.2 and Qt 2.3nc

2006-05-31 Thread Brad King
Zein Salah wrote: Is there actually a conflict between Cmake 2.4.2 and Qt 2.3 non-commercial? I am asking because I have newly built my qt-itk project with cmake 2.4.2. Cmake generates a message: "Multiple versions of Qt found, please set DESIRED_QT_VERSION" Actually, I have only one version of

Re: [CMake] Digital Mars

2006-05-31 Thread Amitha Perera
On Fri 19 May 2006, William A. Hoffman wrote: > I have another idea. Write a small program or .bat file > to run the link command and add the -L ability to it. > It would basically setenv LIB to the parsed out -L path options, > then call the DM linker. I did this using a small perl script to wr

[CMake] Problem with CMake 2.2 and Qt 2.3nc

2006-05-31 Thread Zein Salah
Title: Problem with CMake 2.2 and Qt 2.3nc Hello Everybody, Is there actually a conflict between Cmake 2.2 and Qt 2.3 non-commercial? I am asking because I have newly built my Qt/ITK project with cmake 2.2. Cmake generates a message: "Multiple versions of Qt found, please set DESIRED_QT_

Re: [CMake] Re: a ./configure shell script stub (William A. Hoffman)

2006-05-31 Thread Filipe Sousa
William A. Hoffman wrote: > At 07:20 PM 5/30/2006, Brandon J. Van Every wrote: > Whether it is command.com or msys or cygwin, there are a number of developers > on > windows that will use the command line. If we can provide a consistent > interface across I'm one of them :) > unix and windows

Re: [CMake] Re: a ./configure shell script stub (William A. Hoffman)

2006-05-31 Thread William A. Hoffman
At 07:20 PM 5/30/2006, Brandon J. Van Every wrote: >James Mansion wrote: >>> >>>For those that run Windows (and don't have the unixtools installed) the >>>preferred interface is a GUI anyway. >>> >> >> >>I don't think that's a good assumption. Windows has a command interpreter >>(and in my e