Skip to content

Applied CMake - Develop a working understanding in a multi-project setting

Photo of Peter Petrakis
Hosted By
Peter P.
Applied CMake - Develop a working understanding in a multi-project setting

Details

GENERAL

The meeting will start at 7:30 PM with a tour of the facility, followed by pizza, and then the presentation + discussion. Donations are welcome.

TOPIC

# overview

  • why not make?
  • why cmake?

# language basics

  • writing to stdout
  • "types"
  • variables
  • environmental variables
  • control
  • loops
  • functions
  • macros

# standalone project

  • filesystem organization
  • CMakeLists.txt
  • acquiring build dependancies
    -- find_package
    -- write your own "FindMyLib.cmake"
  • defining build targets
  • running custom commands
  • template configuration files
  • "generating" the build system
  • compiling your project

# multi project

  • natural extension of standalone project
  • exposing library and includes provided by sub-project

# stretch goals

  • defining install actions
  • CPack packaging
  • trade offs between meta packaging and native packaging (Ubuntu/Debian) centric

DIRECTIONS

The entrance to the maker space is located at the rear of the Amherst middle school in the upper right hand corner]. *** When you enter the parking lot, [bear right] and follow it around the corner [all the way to the end] ***. When you see a glowing LCD by the door, that's the entrance.

The meeting will be held in the home economics room where projectors are available and we can have grub. This is a pack in pack out affair so please refrain from using any consumables in this area unless they are explicitly provided for by our group.

Photo of Southern NH C++ Group group
Southern NH C++ Group
See more events
14 Cross Road, Amherst, NH · http://www.amherstmakerspace.com, NH