Re: [CMake] CPU specific compiler flags

2018-11-26 Thread Eric Noulard
Le lun. 26 nov. 2018 à 09:36, Ciccio Pasticcio a écrit : > Hi all, > > I'm refactoring some libraries cmake files to be compliant to the use of > targets instead of tons of variables. Since these libraries are > cross-compiled I'm facing some problem finding how to properly set some > specific fl

[CMake] CPU specific compiler flags

2018-11-26 Thread Ciccio Pasticcio
Hi all, I'm refactoring some libraries cmake files to be compliant to the use of targets instead of tons of variables. Since these libraries are cross-compiled I'm facing some problem finding how to properly set some specific flags like: -march -marm -mfloat-abi etc. For now I set the CMAKE_CXX_FL