adamfowleruk / groundupdb

Creating a database from the ground up in C++ for fun!
Apache License 2.0
123 stars 25 forks source link

Add Cmake Support to project #5

Closed battleguard closed 4 years ago

battleguard commented 4 years ago

Hey sorry this is not following some formal pull request, just thought it would be a fun project to test adding cmake to.

I had to modify some code to get it working with cmake and visual studio and thought I would share it with you incase you wanted to add in cmake support at a later date.

Also its worth noting this will break your qt project files so those would need to be re updated to support the new include structure.

adamfowleruk commented 4 years ago

Ah shoot. Don't want to break Qt support by merging this, but I will definitely use it for inspiration when I add CMake support in the coming weeks. I have a video I plan to do in a few weeks for multi platform support and I was planning on adding CMake then. Thanks for the great ideas though! I'll definitely use them for inspiration. I'll leave this open until I get round to adding it.

adamfowleruk commented 4 years ago

Accidentally closed...

adamfowleruk commented 4 years ago

Fixed by #9 - Please try it out! @battleguard . Thanks for the work. I had to rejig for a format compatible with QtCreator, but it seems to work fine on Mac.