microsoft / arcana.cpp

Arcana.cpp is a collection of helpers and utility code for low overhead, cross platform C++ implementation of task-based asynchrony.
MIT License
78 stars 24 forks source link

Create CMakeLists.txt #2

Closed syntheticmagus closed 5 years ago

syntheticmagus commented 5 years ago

First CMake build file, necessary for UWP support because Arcana's UWP offerings aren't header-only.

ryantrem commented 5 years ago

Because Arcana's UWP offerings aren't header-only

@syntheticmagus If memory serves, it shouldn't be too much work to make it header-only, which would also make it considerably more portable and easy to consume.

syntheticmagus commented 5 years ago

@ryantrem That makes sense, I'm just not sure quite yet that we want to go down that road. We should probably convert the existing code to be header-only -- I'll open an issue for that -- but even after that we may add additional non-header-only capabilities, or we might need a CMakeLists.txt if we want to make the tests cross-plat. It's pretty easy to consume through CMake, too, though certainly not as easy as a truly header-only library.