On 06/07/2016 02:07 AM, michael.jaent...@gmx.de wrote: > problem is not the POST_BUILD which is set to "cd ." as you said but the > CMAKE_CXX_ARCHIVE_FINISH which is before the POST_BUILD [snip] > command = ... D:\gcc\win32\mips-sde-elf\bin\mips-sde-elf-ar.exe qc > $TARGET_FILE $LINK_FLAGS $in && : $TARGET_FILE && $POST_BUILD"
That is meant to be the "ranlib" call. The only way I was able to get a ":" there was by setting -DCMAKE_RANLIB=: on the command line. What is its value? See CMakeFiles/${CMAKE_VERSION}/CMakeCCompiler.cmake for a set(CMAKE_RANLIB) call. Does the toolchain provide a "ranlib" tool? -Brad -- 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