Skip to content

taichi729/CMake_lecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMAKE LECTURE EXAMPLE

This is cmake example to use for lecture

Installation

apt install build-essential cmake gcc libomp-dev git 

Usage

in each Case folder

cmake -Bbuild
cmake --build build
./build/<program to run>

Case

  • Case01 : Normal CMake
  • Case02 : add excute multiple file
  • Case03 : GLOB
  • Case04 : compile every file
  • Case05 : include guard
  • Case06 : add library and link openmp
  • Case07 : create library and link
  • Case08 : compile option and external library

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published