Hello,

I am trying to add support for Renesas CCRX compiler by creating a platform 
file.

I have come across a problem where I try to set the 
CMAKE_LINK_LIBRARY_FILE_FLAG to "-library=" a space is added after the flag by 
CMake. Which is not the case with CMAKE_INCLUDE_FLAG_<LANG> variable.

Example command produced to link executable (notice the space between equals 
sign and path to a library):
rlink -nologo -library= path_to_some_lib_a.lib -library= path_to_some_lib_b.lib 
-form=stype -output=myprogram.mot some_object_file.obj

but I need it to look like this:
rlink -nologo -library=path_to_some_lib_a.lib -library=path_to_some_lib_b.lib 
-form=stype -output=myprogram.mot some_object_file.obj

Is there a way to tell the cmake to not put the space there? Or any other way 
to do it?

Thank you.
-- 

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:
https://cmake.org/mailman/listinfo/cmake

Reply via email to