Manually-specified variables were not used by the project
MY_VAR
when I call
cmake -DMY_VAR= ...
The goal is
if(NOT DEFINED MY_VAR)
...
else()
...
if()
in order to tell cmake over the command line what to do.
How to achieve this ?
--
Powered by www.kitware.com
Please keep messages on-topi
How do you use cmake + ccache to cross compile in combination with a toolchain
compiler wrapper (from crosstool-NG)?
The situation:
cross-compile for arm with a sdk + cmake + ccache
The sdk installation
$ sdk-dat-arm$ ll host/usr/bin/
arm-am3354-linux-gnueabihf-c++ -> ext-toolchain-wrapper*
arm