Hi
I setup mixed project C and CXX for generic platform TI dsp. I build static library. Library is not build because AR command is empty in link.txt. It is working when I not mix C/CXX. What is wrong? Toolchan file: set(CMAKE_SYSTEM_NAME "Generic") SET(CMAKE_SYSTEM_PROCESSOR "tidsp_mv64") set(TIDSP_TYPE "mv64+") # specify the cross compiler SET(CMAKE_C_COMPILER /usr/local/share/cross-compilers/TMS320C6x/6.1.13/bin/cl6x) SET(CMAKE_CXX_COMPILER /usr/local/share/cross-compilers/TMS320C6x/6.1.13/bin/cl6x) SET(CMAKE_AR /usr/local/share/cross-compilers/TMS320C6x/6.1.13/bin/ar6x) SET(CMAKE_STRIP /usr/local/share/cross-compilers/TMS320C6x/6.1.13/bin/strip6x) SET(CMAKE_RANLIB "") # where is the target environment SET(CMAKE_FIND_ROOT_PATH /usr/local/share/cross-compilers/TMS320C6x/6.1.13) # search for programs in the build host directories SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # for libraries and headers in the target directories SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) include_directories(/usr/local/share/cross-compilers/TMS320C6x/6.1.13/include) link_directories(/usr/local/share/cross-compilers/TMS320C6x/6.1.13/lib)
-- 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://www.cmake.org/mailman/listinfo/cmake
