Skip to content

Conversation

@codelyok13
Copy link

"Disclaimer: This code is produced by an AI system."

I use Clion for my development but either hated my system or clions built in MESON. Since, I saw you had multiple build systems but didn't see cmake, I had the AI generate the cmake files based on your meson and make files. I ran all the tests and used the examples and they all seem to run.

  • Added support for building the project using CMake.
  • Created CMake configurations for building library sources, examples, and tests.
  • Integrated CTest for running unit tests.
  • Enabled optional installation for headers, docs, and CMake package files.

- Added support for building the project using CMake.
- Created CMake configurations for building library sources, examples, and tests.
- Integrated CTest for running unit tests.
- Enabled optional installation for headers, docs, and CMake package files.
@tylov
Copy link
Collaborator

tylov commented Jan 3, 2026

Hi, thanks, I will test this tomorrow hopefully to see if it does what it should on both Windows/Linux.

@mochaaP
Copy link
Contributor

mochaaP commented Jan 13, 2026

Hi, if you want to consume this library, you can copy the headers into your project or use the single-file version at https://github.com/stclib/stcsingle.

If you would like to hack on this library, CLion's built-in Meson support works well for me. If CLion can't scan your build due to ccache, you might want to manually invoke CC_FOR_BUILD=cc CC=cc meson setup buildDir to override the automatic ccache detection.

I'm not very fond of maintaining CMake and Meson at the same time.

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.

4 participants