RE: [CMake] Digital Mars

2006-05-31 Thread James Mansion
:43 To: William A. Hoffman Cc: cmake@cmake.org Subject: Re: [CMake] Digital Mars 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

Re: [CMake] Digital Mars

2006-05-20 Thread Cesar Rabak
OK, another 0.01999... to your idea: DM has a utility called 'cl.exe' (look for it in the BIN directory) which emulates a lot of Microsoft command line compiler and linker. Have a try w/it! "William A. Hoffman" [EMAIL PROTECTED] escreveu: At 11:09 AM 5/19/2006, William A. Hoffman wrote:Yea, I

Re: [CMake] Digital Mars

2006-05-19 Thread Amitha Perera
On Thu 18 May 2006, William A. Hoffman wrote: I am not even sure we always have that information. For example, someone might do LINK_DIRECTORIES() LINK_LIBRARIES(A). In principle, CMake has enough knowledge to look for it by scanning the current LINK_DIRECTORIES for libA. Maybe we could

Re: [CMake] Digital Mars

2006-05-19 Thread William A. Hoffman
At 11:09 AM 5/19/2006, William A. Hoffman wrote: Yea, I think that is what is needed. The other option is to use the Microsoft linker 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

Re: [CMake] Digital Mars

2006-05-18 Thread William A. Hoffman
At 10:18 AM 5/18/2006, Amitha Perera wrote: I've been able to get relatively far by simply implementing a Platform/Windows-bmc.cmake, and using NMake as the Makefile parser. I thought I'd try this first before writing a generator for the Digital Mars make. Right now, I'm stuck here: the Digital

[CMake] Digital Mars

2006-05-17 Thread Amitha Perera
Has anyone tried CMake with Digital Mars C/C++? My quick attempt with CMake 2.2 and CMake 2.4.2 failed. Current error output with CMake 2.4.2 is Determining if the C compiler works failed with the following output: f CMakeFiles/cmTryCompileExec.dir/build.make

Re: [CMake] Digital Mars

2006-05-17 Thread Cristian Adam
William A. Hoffman wrote: You could run cmake --debug-trycompile and it will leave the makefiles around, and you can run make in CMakeFiles/CMakeTmp to see what the error really is. Does Digital Mars have its own make? Yes it has. Digital Mars Make Version 5.05 Cristi.

Re: [CMake] Digital Mars

2006-05-17 Thread William A. Hoffman
At 03:12 PM 5/17/2006, Cristian Adam wrote: William A. Hoffman wrote: You could run cmake --debug-trycompile and it will leave the makefiles around, and you can run make in CMakeFiles/CMakeTmp to see what the error really is. Does Digital Mars have its own make? Yes it has. Digital Mars Make