博客專欄

        EEPW首頁 > 博客 > cmake 命令行參數

        cmake 命令行參數

        發布人:電子禪石 時間:2020-02-17 來源:工程師 發布文章


        https://cmake.org/cmake/help/latest/manual/cmake.1.html#manual:cmake(1)

        Generate a Project Buildsystem
         cmake [<options>] <path-to-source>
         cmake [<options>] <path-to-existing-build>
         cmake [<options>] -S <path-to-source> -B <path-to-build>
        
        Build a Project
         cmake --build <dir> [<options>] [-- <build-tool-options>]
        
        Install a Project
         cmake --install <dir> [<options>]
        
        Open a Project
         cmake --open <dir>
        
        Run a Script
         cmake [{-D <var>=<value>}...] -P <cmake-script-file>
        
        Run a Command-Line Tool
         cmake -E <command> [<options>]
        
        Run the Find-Package Tool
         cmake --find-package [<options>]
        
        View Help
         cmake --help[-<topic>]
        1. cmake 運行指定cmake 腳本 

          cmake [{-D <var>=<value>}...] -P <cmake-script-file>


          Process the given cmake file as a script written in the CMake language.  No configure or generate step is performed and the cache is not modified.  If variables are defined using -D, this must be done before the -P argument.

        *博客內容為網友個人發布,僅代表博主個人觀點,如有侵權請聯系工作人員刪除。



        關鍵詞: cmake

        技術專區

        關閉
        主站蜘蛛池模板: 奉化市| 岳池县| 民勤县| 孟连| 涞源县| 建平县| 长治县| 麻城市| 嘉善县| 泰兴市| 徐州市| SHOW| 大同市| 萨嘎县| 新野县| 且末县| 老河口市| 汝州市| 阜康市| 集安市| 柳江县| 阿瓦提县| 莒南县| 泸定县| 凤山市| 无极县| 闸北区| 太康县| 上栗县| 蚌埠市| 琼结县| 中江县| 修文县| 金川县| 武宣县| 和田市| 万载县| 湖州市| 定边县| 桓台县| 嘉义县|