linux cmake最新,Linux Cmake

cmake version 2.8.12.2

Usage

cmake [options]

cmake [options]

Options

-C          = Pre-load a script to populate the cache.

-D :=     = Create a cmake cache entry.

-U          = Remove matching entries from CMake cache.

-G         = Specify a build system generator.

-T           = Specify toolset name if supported by

generator.

-Wno-dev                    = Suppress developer warnings.

-Wdev                       = Enable developer warnings.

-E                          = CMake command mode.

-i                          = Run in wizard mode.

-L[A][H]                    = List non-advanced cached variables.

--build

-N                          = View mode only.

-P                   = Process script mode.

--find-package              = Run in pkg-config like mode.

--graphviz=[file]           = Generate graphviz of dependencies, see

CMakeGraphVizOptions.cmake for more.

--system-information [file] = Dump information about this system.

--debug-trycompile          = Do not delete the try_compile build tree.

Only useful on one try_compile at a time.

--debug-output              = Put cmake in a debug mode.

--trace                     = Put cmake in trace mode.

--warn-uninitialized        = Warn about uninitialized values.

--warn-unused-vars          = Warn about unused variables.

--no-warn-unused-cli        = Don't warn about command line options.

--check-system-vars         = Find problems with variable usage in system

files.

--help-command cmd [file]   = Print help for a single command and exit.

--help-command-list [file]  = List available listfile commands and exit.

--help-commands [file]      = Print help for all commands and exit.

--help-compatcommands [file]= Print help for compatibility commands.

--help-module module [file] = Print help for a single module and exit.

--help-module-list [file]   = List available modules and exit.

--help-modules [file]       = Print help for all modules and exit.

--help-custom-modules [file]= Print help for all custom modules and exit.

--help-policy cmp [file]    = Print help for a single policy and exit.

--help-policies [file]      = Print help for all policies and exit.

--help-property prop [file] = Print help for a single property and exit.

--help-property-list [file] = List available properties and exit.

--help-properties [file]    = Print help for all properties and exit.

--help-variable var [file]  = Print help for a single variable and exit.

--help-variable-list [file] = List documented variables and exit.

--help-variables [file]     = Print help for all variables and exit.

--copyright [file]          = Print the CMake copyright and exit.

--help,-help,-usage,-h,-H,/?= Print usage information and exit.

--help-full [file]          = Print full help and exit.

--help-html [file]          = Print full help in HTML format.

--help-man [file]           = Print full help as a UNIX man page and exit.

--version,-version,/V [file]= Show program name/version banner and exit.

Generators

The following generators are available on this platform:

Unix Makefiles              = Generates standard UNIX makefiles.

Ninja                       = Generates build.ninja files (experimental).

CodeBlocks - Ninja          = Generates CodeBlocks project files.

CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.

Eclipse CDT4 - Ninja        = Generates Eclipse CDT 4.0 project files.

Eclipse CDT4 - Unix Makefiles

= Generates Eclipse CDT 4.0 project files.

KDevelop3                   = Generates KDevelop 3 project files.

KDevelop3 - Unix Makefiles  = Generates KDevelop 3 project files.

Sublime Text 2 - Ninja      = Generates Sublime Text 2 project files.

Sublime Text 2 - Unix Makefiles

= Generates Sublime Text 2 project files.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值