boost-cmake / boost

Cmake-based build of boost
Boost Software License 1.0
58 stars 24 forks source link

Compilation without BOOST_LOG_WITHOUT_EVENT_LOG fails on Windows #5

Open dutow opened 6 years ago

dutow commented 6 years ago

The compilation of the log component fails because a missing header file: simple_event_log.h

This file should be generated with the mc tool, but instead, the CMakeLists adds the mc file to the sources.

pfultz2 commented 6 years ago

Do you know how to run this tool with cmake? I can then integrate the cmake code into the build.

dutow commented 6 years ago

Poco has some code for finding it.

I'm, not sure why they limited the registry lookup for the Visual Studio generator - I think those lookups should always work on windows, and definitely when the MSVC variable is 1 (such as when compiling with cl and ninja - I'll test this.