Change compilation flags setup.
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 10 Aug 2017 09:51:35 +0000 (11:51 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 10 Aug 2017 09:51:35 +0000 (11:51 +0200)
commit5b4dfe23ef1141d8f7595a157ca7a8ee5ad8ad07
tree7c0eae948f7ffc36763666e6867d37412370144f
parent77813a98067d7a90214e96f3fc4f1ee93d8c45c8
Change compilation flags setup.

Use CMAKE cache variables other than defaults ones to don't be in
conflict and iterates over them with add_compile_options command

Change-Id: I5e62ab1a340aca15eafeb687998c06e13a571357
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
cmake/cmake.d/04-build_options.cmake
cmake/config.cmake.sample