cheat-sheet, 20140805, ---rgf
-----------------------------

- git clone ssh://git.freedesktop.org/git/dbus/dbus
  did not work (authentication?)

- git clone git://anongit.freedesktop.org/dbus/dbus
  worked!


- cd F:\work\git\dbus-win-20140805\dbus

- add2path E:\Programme\CMake\bin

f:
cd F:\work\git\dbus-win-20140805\dbus


------------------------------------------- 32-bit:
- md dbus-build

- cd dbus-build

- add2path E:\Programme\Expat_2.1.0\Bin

- "e:\Programme\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat"
[- F:\work\svn\bsf4oorexx\trunk\bsf4oorexx.dev\source_cc\env4_32bit_xp.cmd]


cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=E:/Programme/dbus-20140807 -DEXPAT_INCLUDE_DIR=E:/Programme/Expat_2.1.0/Source/lib F:/work/git/dbus-win-20140807/dbus/cmake


------------------------------------------- 64-bit:
- md dbus-build64

- md dbus-build64

- add2path e:\Programme\expat-2.1.0-64bit\bin

- "e:\Programme\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86_amd64

cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=E:/Programme/dbus-20140807-64bit -DEXPAT_LIBRARY=E:/Programme/expat-2.1.0-64bit/lib/expat.lib -DEXPAT_INCLUDE_DIR=E:/Programme/expat-2.1.0-64bit/include F:/work/git/dbus-win-20140807/dbus/cmake 


------------------------------------------- both


nmake

nmake install

nmake help


---- add'tl infos: ----

--> // MAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
--> CMAKE_BUILD_TYPE:STRING=Debug
to change:

      -DCMAKE_BUILD_TYPE=Release
      -DCMAKE_BUILD_TYPE=RelWithDebInfo
      -DCMAKE_BUILD_TYPE=MinSizeRel


---- creating 64-bit expat for Windows:

get tarball from <http://sourceforge.net/projects/expat/files/expat/2.1.0/>,
extract

goto expat-directory, create subdir "md expat-210-64bit", change into it

issue:

cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=E:/Programme/expat-2.1.0-64bit F:/download/windows/expat/work64/expat-2.1.0

