Manu343726 / siplasplas

A library for C++ reflection and introspection
https://manu343726.github.io/siplasplas
MIT License
195 stars 27 forks source link

Libize (transform siplasplas libraries into library targets instead of header-only monstrosity) #18

Closed Manu343726 closed 8 years ago

vblanco20-1 commented 8 years ago

You sure you want to make them libraries, wich is normally harder to get into a project (have to link and control separate build) instead of just including the header you need?

Manu343726 commented 8 years ago

It's not harder if you play nice with the build system, and that's what I'm trying to show with this. When this will be done, library distribution is as easy as running the MSI installer that cmake will generate. Also library isolation helps with build times, debugging, testing, etc.

See how we integrate boost into the coroutine example, that's the kind of automatic distribution I'm trying to teach with cmake. gmock.cmake is another good example of this.

Manu343726 commented 8 years ago

I will libize the reflection one when we finish with that topic in class. It's easier for me to scroll in one buffer only instead of switching between .cpp/.hpp files.

Manu343726 commented 8 years ago

Opps