Skip to content

Cmake migration#152

Merged
charlestytler merged 21 commits intomasterfrom
cmake_migration
Jan 19, 2026
Merged

Cmake migration#152
charlestytler merged 21 commits intomasterfrom
cmake_migration

Conversation

@charlestytler
Copy link
Collaborator

@charlestytler charlestytler commented Jan 17, 2026

Adds cmake build files for the C++ code (under Sources/backend-cpp)

  • Main CMakeLists.txt file and CMAKE_SOURCE_DIR is Sources/backend-cpp/.
  • All libraries are compiled as static libraries and linked to the main executable in Sources/backend-cpp/StreamdeckInterface/
  • The vendored websocketpp library uses dynamic CRT linking so the full project inherits this; therefore Sources/backend-cpp/StreamdeckInterface/CMakeLists.txt also copies all necessary DLLs to package with compiled executable to make it portable.

Can be compiled and also tested via:

cmake -B build
cmake --build build --config Release
ctest --test-dir build --output-on-failure

Also updates Tools/build_plugin.bat and github action: cpp_tests.yml to build C++ with cmake instead of VS .sln.

@charlestytler charlestytler force-pushed the cmake_migration branch 10 times, most recently from 24ac2d4 to c5ba942 Compare January 18, 2026 05:12
@enertial enertial deleted a comment from codecov bot Jan 18, 2026
@@ -0,0 +1,109 @@
// Copyright 2021 Charles Tytler
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was copied from a top level Test directory, backend-cpp/Test/MockESDConnectionManager.h. Original file will be deleted later.

@enertial enertial deleted a comment from codecov bot Jan 18, 2026
@enertial enertial deleted a comment from codecov bot Jan 18, 2026
@enertial enertial deleted a comment from codecov bot Jan 18, 2026
@charlestytler charlestytler merged commit 03ff60d into master Jan 19, 2026
4 checks passed
@charlestytler charlestytler deleted the cmake_migration branch January 19, 2026 20:02
@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

❌ Patch coverage is 57.14286% with 18 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ckend-cpp/ElgatoSD/test/MockESDConnectionManager.h 45.45% 18 Missing ⚠️

📢 Thoughts on this report? Let us know!

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