Skip to content

Create minimalistic CMake project with include and src folder structure#1

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/fix-cae917ad-fac8-4be2-aabb-80c3960b94ee
Closed

Create minimalistic CMake project with include and src folder structure#1
Copilot wants to merge 1 commit intomainfrom
copilot/fix-cae917ad-fac8-4be2-aabb-80c3960b94ee

Conversation

Copy link
Copy Markdown

Copilot AI commented Sep 15, 2025

This PR establishes the basic project structure for LinSpire as a minimalistic CMake-based C++ project with proper folder organization.

Changes Made

  • Created CMakeLists.txt: Configured a minimal CMake build system with C++17 standard, proper include directories, and automatic source file detection
  • Added include/ directory: Contains header files with a basic LinSpire::Solver class interface
  • Added src/ directory: Contains implementation files including the solver logic and main executable entry point
  • Added .gitignore: Excludes build artifacts, compiled objects, and IDE-specific files

Project Structure

LinSpire/
├── CMakeLists.txt       # Main CMake configuration
├── .gitignore          # Build artifacts exclusion
├── README.md           # Existing documentation
├── include/            # Header files
│   └── LinSpire.h      # Solver class interface
└── src/                # Source files
    ├── LinSpire.cpp    # Solver implementation
    └── main.cpp        # Main executable

Features

The minimal implementation includes:

  • A LinSpire::Solver class with basic interface methods (solve(), getVersion())
  • Proper namespace organization
  • CMake configuration that builds a working executable
  • Clean separation between headers and implementation

Build Instructions

mkdir build && cd build
cmake ..
make
./bin/LinSpire

This provides a solid foundation for the incremental and dynamic linear feasibility solver while maintaining a clean, organized codebase structure.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@riccardodebenedictis riccardodebenedictis deleted the copilot/fix-cae917ad-fac8-4be2-aabb-80c3960b94ee branch September 15, 2025 13:05
Copilot AI changed the title [WIP] create a minimalistic cmake project with with an "include" folder a "src" folder Create minimalistic CMake project with include and src folder structure Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants