tfussell / xlnt

:bar_chart: Cross-platform user-friendly xlsx library for C++11+
Other
1.5k stars 423 forks source link

cmake #1

Closed jdlyga closed 9 years ago

jdlyga commented 9 years ago

Would it be possible to add a cmake build configuration setup too?

tfussell commented 9 years ago

I'll be away from my computer for a few weeks (hiking the Appalachian Trail), but I will get that set up for you next month if you think it's useful.

tfussell commented 9 years ago

I've added a cmake build configuration setup to the project. I don't have a lot of experience with writing cmake scripts, so any improvements are welcome. Let me know how it works for you.

Here's how a basic cmake build would look on OSX/Linux (the last command runs all tests):

cd build/cmake mkdir tmp cd tmp cmake .. make ./xlnt.test/xlnt.test