classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view


Elexa Petr



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

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: