Code Monkey home page Code Monkey logo

cmake-study's Introduction

TERMINOLOGY

cmake struct

source tree

where your source you put... (aka: project root)

build tree

cmake configured to...

listfile

aka CMakeLists.txt

CMakeCache.txt

cmake cache

cmake config-file

  • contain information regarding how to use the library binaries, headers, and helper tools. Sometimes, they expose CMake macros to use in your project.
  • find_package()
  • <PackageName>-config.cmake and <PackageName>Config.cmake
    • <Config>Version.cmake

CMakePresets

override cmake's default behavior include cache, build, install, test, and package presets

script

a .cmake can be included/add_subdirectory/executed by cmake

modules

a cmake util package

include (TestBigEndian)

Find-modules

a module can find a cpp lib in your os

FindCURL

toolchain:

a toolchain consists of all of the tools used in building and running the application CXX_STANDARD

project

property propagate

propagate properties from source target to dest target

set_property(TARGET ${dest} PROPERTY ${prop} ${val})

target:

a compiler's target or some cmake logical target

ALL target

clean target

  • project:

  • property:

  • config:

  • cmake var: var: cache: env:

  • generator:

  • build system:

cmake-study's People

Contributors

goolyuyi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.