Hi,
I had a problem with a source path containing spaces:
SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /DEF:${CMAKE_CURRENT_SOURCE_DIR}/c_api_vs.def")

where CMAKE_CURRENT_SOURCE_DIR had spaces. That casued problems in the visual studio project.

I quoted the above as this:
..... \"/DEF:${CMAKE_CURRENT_SOURCE_DIR}/c_api_vs.def\"")

and it 'fixed' it. Question is. Is that the preferred way?

thanks,
Totte


--
.........................
Totte Karlsson, Ph.D.
Dune Scientific, LLC
425-296 1980 (office)
425-780 9648 (cell)
www.dunescientific.com
.........................


--

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