![]() Hence adding a file requires CMake to re-run to add this file to the file list. On windows only adding/removing files or folders will be reflected in depends. When running CMake it must be ensured that all dependencies are correctly acquired. PROJECT_SOURCE_DIR and CMAKE_CURRENT_SOURCE_DIR both refer to CMakeLists. A CMake build script is a plain text file that you must name CMakeLists.txt and includes commands CMake uses to build your C/C++ libraries. The trigger file will update when a folder is added / removed. ![]() Line 1: The addlibrary command creates a new library. Set (EXECUTABLE_OUTPUT_PATH /home/yws/aa/bb/cc ) The CMakeLists.txt file in the drivers directory is used to create libraries instead of executables (ie., the code doesn’t have a main, just functions that are called by other programs).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |