![]() Platforms with system APIs supporting this encoding. Note that the implementation is 8-bit clean so source files may be encoded as UTF-8 on Newlines may be encoded as either \n or \r\n but will be Location(s) in the CMAKE_MODULE_PATH variable.Ī CMake Language source file may be written in 7-bit ASCII text for maximum portabilityĪcross all supported platforms. Project source trees may also provide their own modules and specify their See theĬmake-modules(7) manual page for documentation of modules included with the CMakeĭistribution. cmake source file in the scope of the including context. It does notĪllow CMake commands that define build targets or actions.ĬMake Language code in either Directories or Scripts may use the include() command to loadĪ. The given CMake Language source file and does not generate a build system. cmake source file may be processed in script mode by using theĬmake(1) command-line tool with the -P option. ![]() Processed CMake generates a corresponding directory in the build tree to act as theĪn individual. For each source directory whose CMakeLists.txt file is Specification or use the add_subdirectory() command to add subdirectories to the build.Įach subdirectory added by the command must also contain a CMakeLists.txt file as theĮntry point to that directory. When CMake processes a project source tree, the entry point is a source file calledĬMakeLists.txt in the top-level source directory. cmake file name extension.ĬMake Language source files in a project are organized into: Provided by: cmake-data_3.5.1-1ubuntu1_allĬmake-language - CMake Language ReferenceĬMake input files are written in the "CMake Language" in source files named CMakeLists.txt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |