NoRulez wrote: > Hi, > > i'm trying to convert a qmake project to CMake. > How can i translate "CONFIG" to CMake or what is the CMake's way of using > the CONFIG variable? > > e.g. CONFIG += mylib > > Is this the CMake equivalent: SET(mylib TRUE)
No, probably not. What does CONFIG += mylib do for a third party lib? This link says CONFIG only accepts values with internal meaning to qmake: http://doc.qt.nokia.com/latest/qmake-variable-reference.html#config Thanks, Steve. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
