Monday, March 09, 2020

cmake force g++ gcc version to use



$cmake -DCMAKE_CXX_COMPILER=g++-8  -DCMAKE_CC_COMPILER=gcc-8 ..

This command affec to next variables into CMakeLists.txt file
CMAKE_CXX_COMPILER_VERSION
CMAKE_CXX_COMPILER_ID


#Next lines doesn't works for me on this time.

set(CMAKE_C_COMPILER /usr/bin/gcc-8)
set(CMAKE_CXX_COMPILER /usr/bin/g++-8)

No comments:

Running apps

Runtastic (I uninstalled because force to update your device - Internet connection problems) Runkeeper  (Currently testing) Runna (Complex,...