add path to:

     add2path E:\Programme\CMake 2.8\bin

     add2path E:\Programme\Expat 2.0.1\Bin

oder:

     add2path E:\Programme\libxml2\bin


run:

     F:\work\svn\bsf4oorexx\trunk\bsf4oorexx.dev\source_cc\env4_32bit_xp.cmd

---rgf, 2011-09-19

-----------------------------
Win32 Microsoft nmake
1. install cmake and libexpat
2. get dbus sources
3. unpack dbus sources into a sub directory (referred as <dbus-src-root> later)
4. mkdir dbus-build
5. cd dbus-build
6. run 
    cmake -G "NMake Makefiles" [<options, see below>] <dbus-src-root>/cmake
    nmake
    nmake install
----------------------------

expat:

======================================
works !!! (rgf, 2011-09-19)

--> // 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

------------------------------------
installs into default directory:

   cmake -G "NMake Makefiles" -DDBUS_USE_EXPAT=ON -DLIBEXPAT_INCLUDE_DIR="E:\Programme\Expat 2.0.1\Source\lib" F:/work/git/dbus-win-20110919/dbus/cmake

------------------------------------
installs into: E:/Programme/dbus

    cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=E:/Programme/dbus -DDBUS_USE_EXPAT=ON -DLIBEXPAT_INCLUDE_DIR="E:\Programme\Expat 2.0.1\Source\lib" F:/work/git/dbus-win-20110919/dbus/cmake

    cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=E:/Programme/dbus -DDBUS_USE_EXPAT=ON -DLIBEXPAT_INCLUDE_DIR="E:\Programme\Expat 2.0.1\Source\lib" F:/work/git/dbus-win-20110919/dbus/cmake


======================================


---

cmake -G "NMake Makefiles" -DDBUS_USE_EXPAT=ON -DLIBEXPAT_INCLUDE_DIR="E:/Programme/Expat 2.0.1" F:/work/git/dbus-win-20110919/dbus/cmake

cmake -G "NMake Makefiles" -DDBUS_USE_EXPAT=ON -DLIBEXPAT_INCLUDE_DIR="E:/Programme/Expat 2.0.1/Source/lib/expat.h" F:/work/git/dbus-win-20110919/dbus/cmake

cmake -G "NMake Makefiles" F:/work/git/dbus-win-20110919/dbus/cmake




----------------------------     


cmake -G "NMake Makefiles" F:/work/git/dbus-win-20110919/dbus/cmake 

cmake -G "NMake Makefiles" DBUS_USE_EXPAT:BOOL=ON LIBEXPAT_DIR:FILEPATH==E:/Programme/Expat 2.0.1  F:/work/git/dbus-win-20110919/dbus/cmake


cmake -G "NMake Makefiles" -DDBUS_USE_EXPAT=ON -DLIBEXPAT_DIR:FILEPATH="E:/Programme/Expat 2.0.1/Bin/libexpat.dll" F:/work/git/dbus-win-20110919/dbus/cmake



cmake -G "NMake Makefiles" -DDBUS_USE_EXPAT=ON -DLIBEXPAT_INCLUDE_DIR=E:/Programme/Expat 2.0.1/Source/lib F:/work/git/dbus-win-20110919/dbus/cmake



cmake -G "NMake Makefiles" LIBXML2_INCLUDE_DIR:PATH=E:/Programme/libxml2/include LIBXML2_LIBRARIES:FILEPATH=E:/Programme/libxml2/include/lib F:/work/git/dbus-win-20110919/dbus/cmake

LIBXML2_LIBRARIES=E:/Programme/libxml2/include/lib

DBUS_USE_EXPAT:BOOL=ON LIBEXPAT_DIR:FILEPATH==E:/Programme/Expat 2.0.1

//Path to a file.
LIBEXPAT_INCLUDE_DIR:PATH=E:/Programme/Expat 2.0.1/Source/lib/expat.h
LIBEXPAT_LIBRARIES:FILEPATH=E:/Programme/Expat 2.0.1/Bin/libexpat.lib

LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR=E:/Programme/libxml2


