Re: [CMake] back-slashes for generator expression on windows

2016-12-07 Thread Bram de Jong
Thanks,

that works wonderfully!

 - bram

On Tue, Dec 6, 2016 at 10:33 PM, Craig Scott 
wrote:

> Check out the $ generator expression. See docs at the
> bottom of the following page:
>
> https://cmake.org/cmake/help/latest/manual/cmake-generator-
> expressions.7.html
>
> Something like $ should work I think.
>
>
> On Wed, Dec 7, 2016 at 8:30 AM, Bram de Jong 
> wrote:
>
>> hi cmake-peoples!
>>
>> CMake v3.7.0: I'm using $ and $ on
>> Windows and they generate paths with forward slashes... Is there an easy
>> way to convert these to back-slashes?
>>
>> The testing tool (i.e. via add_test( ) ) I am using expects
>> back-slashes...
>>
>>  - Bram
>>
>> --
>> http://www.freesound.org
>> http://www.smartelectronix.com
>> http://www.musicdsp.org
>>
>> Mobile: +49 (0) 176 68279940
>>
>> --
>>
>> 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
>>
>
>
>
> --
> Craig Scott
> Melbourne, Australia
> https://crascit.com
>



-- 
http://www.freesound.org
http://www.smartelectronix.com
http://www.musicdsp.org

Mobile: +49 (0) 176 68279940
-- 

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

Re: [CMake] back-slashes for generator expression on windows

2016-12-06 Thread Craig Scott
Check out the $ generator expression. See docs at the
bottom of the following page:

https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html

Something like $ should work I think.


On Wed, Dec 7, 2016 at 8:30 AM, Bram de Jong  wrote:

> hi cmake-peoples!
>
> CMake v3.7.0: I'm using $ and $ on
> Windows and they generate paths with forward slashes... Is there an easy
> way to convert these to back-slashes?
>
> The testing tool (i.e. via add_test( ) ) I am using expects back-slashes...
>
>  - Bram
>
> --
> http://www.freesound.org
> http://www.smartelectronix.com
> http://www.musicdsp.org
>
> Mobile: +49 (0) 176 68279940
>
> --
>
> 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
>



-- 
Craig Scott
Melbourne, Australia
https://crascit.com
-- 

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

[CMake] back-slashes for generator expression on windows

2016-12-06 Thread Bram de Jong
hi cmake-peoples!

CMake v3.7.0: I'm using $ and $ on
Windows and they generate paths with forward slashes... Is there an easy
way to convert these to back-slashes?

The testing tool (i.e. via add_test( ) ) I am using expects back-slashes...

 - Bram

-- 
http://www.freesound.org
http://www.smartelectronix.com
http://www.musicdsp.org

Mobile: +49 (0) 176 68279940
-- 

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