Skip to content

taemini/cmake-practice

Repository files navigation

cmake-practice

build commands

  • section1/1-no-header-files

  • section1/2-with-header-files

    g++ main.cpp addition.cpp division.cpp print_result.cpp -o calculator
    ./calculator
  • section1/3-glimpse-of-makefile

    make
    ./calculator
  • section2/1-cmake-getting-started

  • section2/2-cmake-managing-hierarchy

    cd my_build_dir
    cmake ..
    make
    ./calculator
  • section3/1-organize-with-subdirectory

  • section3/2-managing-header-files

  • section3/3-managing-header-files

    cd build
    cmake ..
    make
    ./calculator
  • section4

  • section5

    cmake -P CMakeLists.txt

    (-P : process as script mode)

  • section7

    mkdir build && cd build
    cmake ..
    make
    sudo make install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published