Files @ r28520:f9aebe299cae
Branch filter:

Location: cpp/openttd-patchpack/source/src/os/windows/CMakeLists.txt - annotation

Patric Stout
Codechange: MacOS already has MIN/MAX macros defined

This is caused because we use PreCompile Headers, and one of them
includes a system headers which defines MIN/MAX.
add_files(
    crashlog_win.cpp
    font_win32.cpp
    font_win32.h
    library_loader_win.cpp
    string_uniscribe.cpp
    string_uniscribe.h
    survey_win.cpp
    win32.cpp
    win32.h
    CONDITION WIN32
)

if(WIN32)
    target_sources(openttd PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/win32_main.cpp)
endif()