CMakeD Samples ----------- samples tested with gdc 0.23 (all samples) and DMD 1.009 under Arch Linux i686 and Windows XP with MinGW. Procedures below. to compile with dmd use "export DC=/path/to/dmd" on GNU/Linux; "set DC=/path/to/dmd" on Windows/Dos. samples/Hello ------------- Original Web: http://www.cmake.org/HTML/Examples.html basic executable and library creating sample. Linux: (works with both compilers) 1. "cd Hello" 2. "cmake ." 3. "make" 4. "Demo/helloDemo" Windows/MinGW (GDC works Look Tickets: #1) 1. "cd Hello" 2. "cmake.exe . -G "Unix Makefiles" 3. "make" 4. "Demo/helloDemo" Windows/DOS: (DMD works Look Tickets: #1) 1. "cd Hello" 2. "cmake.exe . -G "MinGW Makefiles" 3. "path/to/MinGW/bin/mingw32-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. Linux: (works with both compilers) 1. "cd minwin_gtk" 2. "cmake ." 3. "make" Windows/MinGW: (GDC not tested) Windows/DOS: (DMD not tested) 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 Linux: (works with both compilers) 1. "cd minwin_gtk" 2. "cmake ." 3. "make" Windows/MinGW: (GDC works) 1. "cd minwin_gtk" 2. "cmake.exe . -G "Unix Makefiles" 3. "make" Windows/DOS: (DMD works) 1. "cd minwin_gtk" 2. "cmake.exe . -G "MinGW Makefiles" 3. "path/to/MinGW/bin/mingw32-make"