Windows /
D-Buscmake -G "MinGW Makefiles" \ -D CMAKE_BUILD_TYPE=Release \ -D DBUS_DAEMON_NAME="dbus-service" \ -D DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="tcp:host=127.0.0.1,port=12100,family=ipv4" \ -D DBUS_SESSION_BUS_DEFAULT_ADDRESS="tcp:host=127.0.0.1,port=12200,family=ipv4" \ -D DBUS_BUILD_TESTS=OFF \ -D CMAKE_INSTALL_PREFIX=/dbus ../cmake dbus_int32_t _dbus_atomic_get (DBusAtomic *atomic) { /* this is what GLib does, hopefully it's right... */ //MemoryBarrier (); long dummy = 0; InterlockedExchange (&dummy, 1); return atomic->value; } link.txt: D:\sys\CodeBlocks\MinGW\bin\gcc.exe -O3 -Wl,-subsystem,windows |