SaroEngels (Talk | contribs) m |
|||
| Line 27: | Line 27: | ||
mingw32-make install | mingw32-make install | ||
</pre> | </pre> | ||
| + | (nmake instead of mingw32-make for msvc) | ||
Default target for the installation is <tt>%PROGRAMFILES%\dbus</tt>. | Default target for the installation is <tt>%PROGRAMFILES%\dbus</tt>. | ||
First, be sure you have installed win32libs!
Once you have the source code,
cd c:\svn\windbus patch -p0 < DBus-win32.patch cd .. mkdir windbus-build cd windbus-build cmake -G "Visual Studio 8 2005" ..\windbus\cmake\
(use -G "Visual Studio 7 .NET 2003" for the older compiler)
dbus.sln solution file will be created. Build and install the Debug and Release builds with the IDE. You can switch between the Debug and Release configuration in the Build -> Configuration Manager menu.
Tip: to perform compilation and installation from the command line, type:
devenv /build Debug /project INSTALL dbus.sln devenv /build Release /project INSTALL dbus.slnFor MinGW Builds please replace -G "Visual Studio 8 2005" with -G "MinGW Makefiles" and then use
mingw32-make mingw32-make install
(nmake instead of mingw32-make for msvc)
Default target for the installation is %PROGRAMFILES%\dbus.