Hi

Am I missing something or there is no operator for easy string
concatenation in cmake?

Instead of writing

SET(CMAKE_MODULE_PATH
"${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}")

it would be nice to be able to write

CMAKE_MODULE_PATH += "${CMAKE_CURRENT_SOURCE_DIR}/CMake;"

or at least

SET(CMAKE_MODULE_PATH += "${CMAKE_CURRENT_SOURCE_DIR}/CMake;")

"+=" would mean to prepend to and "=+" to append to existing string.

-- 
Piotr Dobrogost
*** curlpp.org - c++ wrapper for libcurl ***
_______________________________________________
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

Reply via email to