crossbario / autobahn-cpp

WAMP for C++ in Boost/Asio
https://crossbar.io/autobahn
Boost Software License 1.0
251 stars 104 forks source link

Fix provide prefix example #210

Closed robinlinden closed 3 years ago

robinlinden commented 4 years ago

I split this in 2 commits so if you don't like the CMake cleanup it's easy to drop it. I mainly did it to reduce the number of lines and "sameness" of the CMake code to make it easier to spot things like this. The provide_prefix code no longer built, so I had to change some event. to event->.

Including headers in add_library and add_executable calls in CMake isn't necessary and is only used to display the headers in that target in Visual Studio, so I left it in as to not change the behaviour in a no-op cleanup commit.

oberstet commented 3 years ago

great! thanks again for "cleaning up". this looks indeed cleaner now ..