Skip to main content

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.

-1 votes
0 answers
51 views

Recommended optimization CMake and Conan Files [closed]

I'm currently developing a C++ Application and i'm using conan for the dependency management and cmake as my build tool. I primarily building the application on Windows. The question now would be is ...
Kevin's user avatar
  • 105
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 ...
pacmaninbw's user avatar
  • 26.1k
0 votes
2 answers
131 views

Small library for metrics scraping in C++

I did an internship test project (source: https://github.com/SynI20N/VKInfo). Looking for some middle or senior devs to rate it and point out potential problems with my code. Follow up: How would you ...
SyRoN's user avatar
  • 9
2 votes
0 answers
46 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 <...
Sam Coutteau's user avatar
4 votes
1 answer
80 views

Cmake build system for the GenericDictionary

The 3 cmake files presented here are the CMakeLists.txt files used to build the testing for the Generic Dictionary. The builds and ctest work on Ubuntu 22.04. The builds previously worked on Windows ...
pacmaninbw's user avatar
  • 26.1k
1 vote
1 answer
123 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 ...
qloq's user avatar
  • 145
2 votes
3 answers
224 views

Othello (Reversi) in C++17 and CMake

Othello is a two-player strategy game typically played over the board. I implemented Othello in C++17 with CMake as the build system. I'm looking for feedback on cleanness, readability, and ...
aadithyaa's user avatar
5 votes
1 answer
225 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 ...
Dan's user avatar
  • 361
2 votes
1 answer
81 views

API Implementation guidance and improvement

I have recently made significant progress in overcoming beginner barriers related to using Git, CMake, libraries, and successfully implementing an API in C++. Despite my achievements, I acknowledge ...
user avatar
2 votes
1 answer
275 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 ...
user avatar
2 votes
2 answers
160 views

Astronomical calculations in C for python bindings

I've started teaching myself c/c++ with the intent of being able to writing python bindings to c code. I have a c library used ...
Jason Leaver's user avatar
2 votes
1 answer
177 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: ...
TVSuchty's user avatar
  • 605
2 votes
1 answer
89 views

Portable Build System for Virtual Machine with Editor and Unit Tests

I am automating the building and unit testing of a personal project using shell scripts , CMake and make on the latest version of Fedora Linux. I have also tested building on the latest version of ...
pacmaninbw's user avatar
  • 26.1k
3 votes
0 answers
681 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 ...
Rick Nijhuis's user avatar
2 votes
1 answer
416 views

Validating Swedish social security numbers (Luhn algorithm and dates)

I've been writing code for some time but never had the need (or opportunity) to write C/C++ code. Did a small project to learn some C++ and would appreciate feedback on code, testing, project ...
Simon S.'s user avatar
  • 123

15 30 50 per page