www.digitalmars.com         C & C++   DMDScript  

c++.chat - CMake for DM?

reply John Fletcher <J.P.Fletcher aston.ac.uk> writes:
Hi

I have just discovered CMake (http://www.cmake.org/HTML/Index.html)
which is a piece of software which can configure makefiles in a lot of
environments.  I have begun to use it with Red Hat Linux, but also want
to use it in a Windows environment.

For those who don't know it, it will take something like this:

PROJECT(HELLO)
ADD_EXECUTABLE(hello hello.cpp)

and generate a complete set up.  It does more than that of course -
libraries etc. and is billed as "Cross Platform".

Has anyone used it with DM?

Cheers

John Fletcher
Feb 07 2003
parent reply "Rajiv Bhagwat" <dataflow vsnl.com> writes:
I have already requested Walter to modify the IDDE to use plain text .opn /
.prj files. It is a must before we hope to make CMake work with DMC.
- Rajiv


"John Fletcher" <J.P.Fletcher aston.ac.uk> wrote in message
news:3E43DEDA.6799034C aston.ac.uk...
 Hi

 I have just discovered CMake (http://www.cmake.org/HTML/Index.html)
 which is a piece of software which can configure makefiles in a lot of
 environments.  I have begun to use it with Red Hat Linux, but also want
 to use it in a Windows environment.

 For those who don't know it, it will take something like this:

 PROJECT(HELLO)
 ADD_EXECUTABLE(hello hello.cpp)

 and generate a complete set up.  It does more than that of course -
 libraries etc. and is billed as "Cross Platform".

 Has anyone used it with DM?

 Cheers

 John Fletcher

Feb 08 2003
parent reply Jan Knepper <jan smartsoft.us> writes:
 I have already requested Walter to modify the IDDE to use plain text .opn /
 .prj files. It is a must before we hope to make CMake work with DMC.
 - Rajiv

.prj files are already plain text... A quick look at them will tell you how to change them with any text editor. The real pain is the .opn files. Jan
Feb 09 2003
parent John Fletcher <J.P.Fletcher aston.ac.uk> writes:
Jan Knepper wrote:

 I have already requested Walter to modify the IDDE to use plain text .opn /
 .prj files. It is a must before we hope to make CMake work with DMC.
 - Rajiv

.prj files are already plain text... A quick look at them will tell you how to change them with any text editor. The real pain is the .opn files. Jan

I don't plan to use the IDE, so do I need to worry about .prj and .opn anyway. CMake can generate a makefile. John
Feb 13 2003