Skip to content

code for talk introducing roboticists to CMake

License

Notifications You must be signed in to change notification settings

PeterMitrano/CMake_for_Dummies_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test it out

cd sqrt
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=~/.local # NOTE: change this to whatever you want, or omit it. if you omit, it will default install to /usr and require sudo
cd build
# NOTE: did you read the above note?
make
# NOTE: are you sure?
make install

Now that package and it's library + headers can be used by our hypot package.

cd hypot
mkdir build
cd build
cmake ..
make

And it should compile & run. Amazing!

About

code for talk introducing roboticists to CMake

Resources

License

Stars

Watchers

Forks