Skip to content

Conversation

@adr1ja
Copy link

@adr1ja adr1ja commented Nov 23, 2025

No description provided.

@adr1ja
Copy link
Author

adr1ja commented Nov 23, 2025

Overview

This PR adds a Dockerfile and CMakeLists.txt to build the project with all dependencies (Boost, deal.II, and yaml-cpp). It also updates main.cpp to utilize these libraries.

How to Test

1. Build the Docker Image

Run the following command in the project root:

docker build -t cmake-fighter .

2. Run the Container

Start the container with the volume mounted:

# Linux/PowerShell
docker run -it -v ${PWD}:/home/app cmake-fighter bash

3. Build and Run

Inside the container, navigate to the source directory and run the automation script:

cd /home/app
./build_and_run.sh

Expected Output

The script should compile successfully and output

  • Boost flatset contents
  • Boost filesystem directory listing
  • deal.II FEM solution (solution.vtk)
  • yaml-cpp version parsing (Version: 1.2.3)

GitLab Username- singhaa

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.

1 participant