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.
                31 questions
            
            
            
                -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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 <...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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:
...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
         
         
         
         
        