zephyr/cmake
Sebastian Bøe 608778a4de cmake: Support specifying Kconfig options on the CLI
This resolves #5723 by adding support for assigning to Kconfig options
from the CMake CLI.

CMake CLI Kconfig options can be specified like so:

'cmake -DCONFIG_ASSERT=y'

The lifetime of such an option is the same as the lifetime of a CMake
cache variable, and in principle any method of populating the
CMakeCache could be used, such as cmake-gui.

This has been implemented by scanning the CMakeCache variables before
Kconfig is executed and writing any that are prefixed with 'CONFIG_'
to a new Kconfig fragment in the build directory that is merged in
with a high precedence.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-06-20 15:40:24 -04:00
..
app cmake: fix git describe command line 2018-06-19 17:45:45 -04:00
compiler xtensa: provide XCC compiler support for Xtensa 2018-05-01 16:46:41 -04:00
emu sample: net: RPL mesh sample over QEMU 2018-02-20 14:47:14 +02:00
flash scripts: west: introduce common runner configuration 2018-05-19 07:01:39 +03:00
reports
toolchain kconfig: Drop support for CONFIG_TOOLCHAIN_VARIANT 2018-05-22 11:15:36 -04:00
usage kconfig: Remove targets specific to the C implementation 2018-05-07 21:53:37 +02:00
ccache.cmake
dts.cmake cmake: replace PROJECT_SOURCE_DIR with ZEPHYR_BASE 2018-06-18 15:25:55 -04:00
extensions.cmake cmake: extensions: Remove macro zephyr_library_ifdef. 2018-05-28 13:23:13 -04:00
extra_flags.cmake
fpu-for-gcc-m-cpu.cmake cmake: indicate single precision floating-point for Cortex-M33 2018-02-23 21:42:22 -06:00
gcc-m-cpu.cmake arch: arc: refactor the soc part of em_starterkit 2018-05-15 09:48:11 +02:00
hex.cmake
host-tools-zephyr.cmake cmake: fix set_ifndef() usage patterns 2018-03-23 05:32:44 -04:00
host-tools.cmake boards: common: bossac: Fix bossac flash script. 2018-06-04 12:15:31 -05:00
kconfig.cmake cmake: Support specifying Kconfig options on the CLI 2018-06-20 15:40:24 -04:00
kobj.cmake userspace: generate list of kernel object sizes 2018-05-16 17:32:59 -07:00
pristine.cmake
toolchain.cmake cmake: toolchain: Don't warn of both ZEPHYR_*_VARIANT envvars defined 2018-06-01 10:34:25 -04:00
version.cmake