On 2013-07-09 14:46, Júlio Hoffimann wrote:
One last question, is it portable to use ../ links in CMake? Or you just typed it for fast illustration?
I use "../" all over the place... all that is required is a correct absolute or relative path to the .qrc (or whatever other source file).
(Relative paths are AFAIK always interpreted relative to either CMAKE_CURRENT_SOURCE_DIR or CMAKE_CURRENT_LIST_DIR (I'd guess the latter, but they'll be the same in almost all cases for a CMakeLists.txt). So as long as your relative path is correct it is safe across platforms, etc., if that's what you were asking?)
-- Matthew -- 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
