• Christopher Dykes's avatar
    Shift the job of defining NOMINMAX into source rather than the build system · 887367ca
    Christopher Dykes authored
    Summary:
    This makes it easier to consume Folly from a non-cmake project.
    Note that this also requires making libevent, which was previously categorized as a semi-portable header into a non-portable header, meaning it can't be referenced directly. (libevent includes `Windows.h` in one of its headers -_-....)
    
    Reviewed By: yfeldblum
    
    Differential Revision: D5106051
    
    fbshipit-source-id: 5ce2d4188c9036d6ab206af3036c8fd4b09516a4
    887367ca
FollyCompiler.cmake 18.3 KB