Questions tagged [cmake]
CMake is a cross-platform, open-source build system. It generates native makefiles and project files that can be used from the command line or integrated development environment of your choice.
30 questions
2 votes
1 answer
68 views
Cmake build system for prototype planner software using boost and other previously written code
I'm prototyping/debugging some C++ code that I may turn into a longtime project. The build system is ready for review, the prototype is not. The GitHub repository for the code listed below. Like all ...
2 votes
0 answers
47 views
System for recursively initializing libraries CXX + CMake
I needed to set some global data (logging handler, base path, etc) across all libraries/targets (internally managed). A manual system of InitLib1 which calls all <...
1 vote
1 answer
126 views
Project for reading and printing IPs
It's a small project which consists of Ip class and functions for reading and printing IPs, unit tests for this code, and a driver app. The driver app is just ...
5 votes
1 answer
231 views
A slightly unconventional CMake project
Introduction This is my first CMake project. I had a bit of help with the initial setup but I have since made a lot of changes myself. It's working well but I think I am doing things in a slightly ...
2 votes
1 answer
276 views
Reimplementation of Diep.io in C++ with SFML and Box2D
Here's my attempt at reimplementing part of https://diep.io/, a 2D game where tanks battle with each other. The tanks are circular and they have cannons which fire bullets. The bullets can hit other ...
2 votes
1 answer
182 views
CMake - Usual Build System
After wrestling with CMake I now have a fully working solution. It works, however, I completely massacred the CMake File: This is my main cmake file: ...
3 votes
0 answers
682 views
Modern CMake/c++ and vcpkg project setup for large projects
I am starting up a project with some people, because there will be developed for and on multiple platforms we chose to use CMake to build our project. Because the project will get quite large we are ...
1 vote
1 answer
361 views
CMakeLists and Clang sanitization options for an ncurses program
I would like some feedback on a CMakeLists.txt file I created for compiling my project. I have pasted the CMakeLists as well as my source code below. One thing I would specifically appreciate feedback ...