[CMake] Using Boost and Qt together.
0xd34df00d
0xd34df00d at gmail.com
Thu Jan 29 06:45:09 EST 2009
2009/1/29 Surya Kiran Gullapalli <suryakiran.gullapalli at gmail.com>:
> Hello,
> I've a big project, where in I'm planning to use both Boost.Signals and Qt
> Signal/slot mechanism.
> From Qt4.1 there's a CONFIG += no_keywords option provided to qmake to
> faclitate use of Boost.Signals along with Qt signal slots.
> As I'm using Cmake (2.6), how can i achieve the same thing with CMake?
> Thanks in advance,
> Surya
This is controlled by QT_NO_KEYWORDS compiler definition. So just add
in your CMakeLists.txt:
ADD_DEFINITIONS(-DQT_NO_KEYWORDS)
--
Rudoy Georg
LeechCraft — http://sourceforge.net/projects/leechcraft and
http://deviant-soft.ws
Spicy — http://deviant-soft.ws
More information about the CMake
mailing list