The following issue has been SUBMITTED.
======================================================================
https://public.kitware.com/Bug/view.php?id=16137
======================================================================
Reported By: Andry81
Assigned To:
======================================================================
Project: CMake
Issue ID: 16137
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2016-06-07 09:56 EDT
Last Modified: 2016-06-07 09:56 EDT
======================================================================
Summary: ExternalProject_Add: Can't escape ; character in
CMAKE_ARGS
Description:
Seems ExternalProject_Add became broken from some time ago. I could not figure
out when, but from version 3.5.2 (including 3.5.2-rc1) it does not work anymore.
All ";" characters does replace now by space whenever and not matter how you use
the expression.
Steps to Reproduce:
ExternalProject_Add(MySubProject SOURCE_DIR ${SUBPROJECT_ROOT}
CMAKE_ARGS
-DMYPATH=c:/blabla1;c:/blabla1/blabla2;c:/blabla1/blabla3
INSTALL_COMMAND "" )
Additional Information:
I Tried these to workaround it:
1. Quotes around the expression ("-DMYPATH=...")
2. Backlash escaping ("-DMYPATH=...\;...")
3. LIST APPEND instead SET
4. LIST_SEPARATOR in ExternalProject_Add
5. STRING REPLACE ^^ to ;
Nothing works.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2016-06-07 09:56 Andry81 New Issue
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers