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
emu
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
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
gcc-m-cpu.cmake
hex.cmake
host-tools-zephyr.cmake
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