Then call Run or Debug for this configuration. If you want the installation to automatically precede the launch, open the Run | Edit Configurations dialog, choose the desired Run/Debug configuration, press in the Before launch section, and choose Install from the drop-down list: To run the installation only, call Build | Install from the main menu: Use a relative path, which will be interpreted as relative to the value of the CMAKE_INSTALL_PREFIX variable, if provided in the CMake options section of the Settings/Preferences | Build, Execution, Deployment dialog: Provide the full path with a leading slash or drive letter. Set up the installation paths via the field of the install command. Place the install commands into your CMakeLists.txt files. If your workflow includes project installation, you may want to use the CMake install command that generates installation rules.ĬMake install invokes building targets, thus you don't need to call the Build action separately.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |