Lines Matching full:files

31 - A "project" is a directory that contains all the files and configuration to build a single "app" …
37 …ar pieces of standalone code which are compiled into static libraries (.a files) and linked into a…
72 …- Run CMake_ as necessary to configure the project and generate build files for the main build too…
75 …Building is incremental so if no source files or configuration has changed since the last build, n…
77files from the build directory, forcing a "full rebuild" the next time the project is built. Clean…
78 …onfigure it from scratch. Note that this option recursively deletes *all* files in the build direc…
102 - ``idf.py size`` prints some size information about the app. ``size-components`` and ``size-files`…
103 …'t necessary during normal usage, but can be useful after adding/removing files from the source tr…
116 - ``--ccache`` flag can be used to enable CCache_ when compiling source files, if the CCache_ tool …
118 Note that some older versions of CCache may exhibit bugs on some platforms, so if files are not reb…
150 In the above list, the ``cmake`` command configures the project and generates build files for use w…
189 …heir own build tools (CMake calls these "generators") to build the source files as part of the IDE.
222 The exception is often caused by ``.pyc`` files generated by different Python versions. To solve th…
259 …ng main <rename-main>` section for more info. If you have a lot of source files in your project, w…
263files in this directory. Then, after the main build process is run, this directory will also conta…
265 …, and its integration into the overall project. See `Component CMakeLists Files`_ for more details.
267 … include ``Kconfig.projbuild`` and ``project_include.cmake`` files, which are special files for `o…
294 …es the project name. The project name is used for the final binary output files of the app - ie ``…
346 Component CMakeLists Files
382 - ``SRCS`` is a list of source files (``*.c``, ``*.cpp``, ``*.cc``, ``*.S``). These source files wi…
383 …nclude search path for any component which requires this component, and also the main source files.
397 …ent`` for creating a new component. The new component will contain set of files necessary for buil…
453 To pass compiler options when compiling source files belonging to a particular component, use the `…
477 To create a component Kconfig file, it is easiest to start with one of the Kconfig files distribute…
505 …RES`` should be set to all components whose header files are #included from the *public* header fi…
507 …EQUIRES`` should be set to all components whose header files are #included from *any source files*…
509 …ration is loaded. Other component variables (like include paths or source files) can depend on con…
565 - ``SRCS`` gives the list of source files in the ``car`` component.
599 As a result, source files in the ``car`` component don't need the ``spark_plug`` include directorie…
701 …un. This script does a partial evaluation of all component CMakeLists.txt files and builds a graph…
712 - Order that :ref:`project_include.cmake` files are included into the project.
713 …pilation (via ``-I`` argument). (Note that for a given component's source files, only that compone…
725 …uild requirements which must be evaluated before any component CMakeLists files are evaluated, you…
727 ``project_include.cmake`` files are used inside ESP-IDF, for defining project-wide build features s…
729 Unlike component ``CMakeLists.txt`` files, when including a ``project_include.cmake`` file the curr…
733files are included in the order given in ``BUILD_COMPONENTS`` variable (as logged by CMake). This …
740 This is an equivalent to ``project_include.cmake`` for :ref:`component-configuration` KConfig files
744 ``project_include.cmake`` files are used inside ESP-IDF, for defining project-wide build features s…
751files, only ``Kconfig.projbuild`` and ``KConfig``, can have a one-line ``CMakeLists.txt`` file whi…
773 …n undefined variable is referenced in the build. This can be very useful to find buggy CMake files.
786 Here are some more advanced examples of component CMakeLists files.
793 The configuration system can be used to conditionally compile some files depending on the options s…
859 The current target is available to CMake files via ``IDF_TARGET`` variable.
863 …Also one can not use Kconfig variables in ``include`` statements in CMake files, but ``IDF_TARGET`…
888 …If generating files as part of the project CMakeLists.txt file, not a component CMakeLists.txt, th…
890 …ependency between the two components, to ensure that the component source files were always compil…
899 …``EMBED_FILES`` in the component registration, giving space-delimited names of the files to embed::
916 …inary prefix in the symbol name is added by objcopy and is the same for both text and binary files.
926 …ample_file:`protocols/http_server/file_serving/main/CMakeLists.txt` - two files are loaded at buil…
948 …its code and data will be placed in memory through linker fragment files. These files are processe…
991 …eans ``make clean`` will delete this library. (Note that the other object files from the build won…
1004 … build system. If Ninja_ or an IDE build system is used, it won't delete these files when cleaning.
1020 …le files, set the ``SDKCONFIG_DEFAULTS`` environment variable or set ``SDKCONFIG_DEFAULTS`` in top…
1029 If ``SDKCONFIG_DEFAULTS`` is used to override the name of defaults file/files, the name of target-s…
1038 …ld directory contains binary output files (``.bin`` files) for the project and also the following …
1046 You can pass any of these flasher argument files to ``esptool.py`` as follows::
1059 …has its own project CMakeLists.txt file and builds separate .ELF and .BIN files to the main projec…
1112 …e is quite simple as there are not a lot of source files. For components with a large number of fi…
1212 ….. note:: The IDF build system can only set compiler flags for source files that it builds. When a…
1263 - SDKCONFIG_DEFAULTS - list of files containing default config to use in the build (list must conta…
1264 …o place ESP-IDF build-related artifacts, such as generated binaries, text files, components; defau…
1272 …ts such as dependencies related to flashing, generating additional binary files, etc. Should be ca…
1295 - C_COMPILE_OPTIONS - compile options applied to all components' C source files
1296 - COMPILE_OPTIONS - compile options applied to all components' source files, regardless of it being…
1297 - COMPILE_DEFINITIONS - compile definitions applied to all component source files
1298 - CXX_COMPILE_OPTIONS - compile options applied to all components' C++ source files
1305 - INCLUDE_DIRECTORIES - include directories for all component source files
1306 - KCONFIGS - list of Kconfig files found in components in build; set by ``idf_build_process``
1307 - KCONFIG_PROJBUILDS - list of Kconfig.projbuild files found in components in build; set by ``idf_b…
1313 - SDKCONFIG_DEFAULTS - list of files containing default config to use in the build; set from ``idf_…
1360 …- SRCS - component source files used for creating a static library for the component; if not speci…
1361files (.c, .cpp, .S) by specifying directories, instead of specifying source files manually via SR…
1363 …nt directory, which will be added to the include search path for this component's source files only
1366 - LDFRAGMENTS - component linker fragment files
1371 …dered as source files when determining if a component is config-only. This means that even if the …
1373 - EMBED_FILES - binary files to be embedded in the component
1374 - EMBED_TXTFILES - text files to be embedded in the component
1393 …IBRARY or CONFIG_ONLY. A component is of type LIBRARY if it specifies source files or embeds a file
1394 - EMBED_FILES - list of files to embed in component; set from ``idf_component_register`` EMBED_FILE…
1395 - EMBED_TXTFILES - list of text files to embed in component; set from ``idf_component_register`` EM…
1399 - LDFRAGMENTS - list of component linker fragment files; set from ``idf_component_register`` LDFRAG…
1404 - SRCS - list of component source files; set from SRCS or SRC_DIRS/EXCLUDE_SRCS argument of ``idf_c…
1413 The preferred way to include source files in an ESP-IDF component is to list them manually via SRCS…
1418files. This could, however, be inconvenient when there are lots of source files to add to the buil…
1423 This uses globbing behind the scenes to find source files in the specified directories. Be aware, h…
1434 …y, use ``SRCS`` argument to ``idf_component_register`` to list all source files in project compone…
1443 … build process generates a number of metadata files in the ``build/`` directory. To regenerate the…
1447 …ns esptool.py arguments to flash the project's binary files. There are also ``flash_*_args`` files
1473 …fig.cmake - Generation of configuration files (sdkconfig, sdkconfig.h, sdkconfig.cmake, etc.) from…
1474 - ldgen.cmake - Generation of final linker script from linker fragment files.
1478 Aside from these files, there are two other important CMake scripts in :idf:`/tools/cmake`:
1483 The rest of the files in :idf:`/tools/cmake` are support or third-party scripts used in the build p…
1532 …bles/macros that are accessible from the build scripts and C/C++ source/header files, respectively.
1534 …ls the registration command, ``idf_component_register`` which adds source files, include directori…
1541 …- Generate project metadata files such as project_description.json and display relevant informatio…
1548 …em. The developer needs to provide values the include directories, source files etc. There is a sy…
1561 …roject Makefile and any component ``component.mk`` files to their equivalent ``CMakeLists.txt`` fi…
1563 …bles which are set by the build, and then producing equivalent CMakelists files to set the same va…
1565 …d adding ``REQUIRES`` and/or ``PRIV_REQUIRES`` clauses. Otherwise, source files in the component w…
1579 - ``COMPONENT_ADD_LINKER_DEPS``: List of files that linking should depend on. `target_link_librarie…
1582 …sources could be specified as a list of object files. Now they can be specified as a list of sourc…
1583 …h ``EXCLUDE_SRCS`` argument to ``idf_component_register``. Specify source files (as absolute paths…
1619 .. _cmake faq generated files: https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#how-can-i-gen…