D module for CMake
    Selman Ulug 
    selman.ulug at gmail.com
       
    Mon Mar 12 07:22:04 PDT 2007
    
    
  
hi,
second draft for cmake module. first draft announce sent to D.gnu. now it
works for dmd too but lots of work waiting. if anyone thinks it'll usefull
I'll continue to work on it. I copied README below.
Download: http://www.selmanulug.info/CMakeD.tar.gz
regards
README
------
D module for CMake. Only works on Linux for now. it looks first "gdc" 
then "dmd" for compiler. if one installed it'll work with it. if both 
installed and want to use "dmd" use this "export DC=/path/to/dmd".
"dmd" support limited you can build libraries but can't add to your 
executables because flags must to send linker like this "-L-lsdl". 
CMake didn't recognize this for now.
PS: samples tested with gdc 0.23 (all samples)  and DMD 1.005 (only 
wc) under Arch Linux i686.
Download: http://www.selmanulug.info/CMakeD.tar.gz
selman.ulug(AT)gmail(DOT)com
INSTALL CMakeD
--------------
1. install cmake
2. download and extract CMakeD
2. "cd cmaked"
3. "cmake ."
4. be root and "make install"
that's all
samples/Hello
-------------
Original Web: http://www.cmake.org/HTML/Examples.html
basic executable and library creating sample.
1. "cd samples/Hello"
2. "cmake ."
3. "make"
4. "Demo/helloDemo"
samples/minwin_gtk
------------------
Original Web: http://www.dsource.org/projects/minwin
a little complex. using GTK libraries and building lots of samples.
1. "cd samples/minwin_gtk"
2. "cmake ."
3. "make"
You'll find working executables in "minwin/samples". no install procedure
added only for sample.
samples/wc
----------
Original Web: http://www.digitalmars.com/d/wc.html
only buildable with dmd.
1. "cd samples/minwin_gtk"
2. "cmake ."
3. "make"
-- 
Selman Ulug
Blog: http://sulug.blogpot.com
E-mail: selman.ulug(at)gmail(dot)com
Aur : http://aur.archlinux.org/packages.php?K=selman&SeB=m
    
    
More information about the Digitalmars-d-announce
mailing list