2009/1/29 Surya Kiran Gullapalli <[email protected]>:
> 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
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to