Using CLion for building for QNX6.5 Neutrino targets
已回答
I am trying to use CLion IDE as my development environment for QNX6.5, i want to write a CMakeList.txt that automate my build process.
after surfing the web i found some hints to how prepare the CMakeList.txt, in this file local C Compiler and CXX Compiler address are specified, but the following error shows up:
"is not able to compile a simple test program"
would you please give me a step by step guide to how to configure the tool for that purpose.
thanks in advanced,
请先登录再写评论。
Hello!
Please take a look at CMake cross-compile tutorial: https://cmake.org/Wiki/CMake_Cross_Compiling. Basically, you define all required variables in a toolchain file (or use one provided by the toolchain if it exists) and pass it via
-DCMAKE_TOOLCHAIN_FILE=...inFile | Settings | Build, Execution, Deployment | CMake>CMake options.And in
File | Settings | Build, Execution, Deployment | Toolchainsyou should have a default toolchain specified (https://www.jetbrains.com/help/clion/installation-guide.html#toolchain-reqs).