Files @ r27814:a13cf9ec9d53
Branch filter:

Location: cpp/openttd-patchpack/source/src/settingsgen/CMakeLists.txt

Patric Stout
Remove: [Win32] module-list from crash.log (#11219)

Only Windows implemented this, and it opens the files to read them
to get a CRC. Doing this in a crash-handler is strange at best.

Lastly, nobody has actually ever used this information to come to
some sort of conclusion. The module-list is used in combination
with the crash.dmp, but this information is already embedded in
there.
cmake_minimum_required(VERSION 3.9)

if (NOT HOST_BINARY_DIR)
    project(settingsgen)

    set(sourcefiles
            settingsgen.cpp
            ../core/alloc_func.cpp
            ../misc/getoptdata.cpp
            ../error.cpp
            ../ini_load.cpp
            ../string.cpp
    )
    add_definitions(-DSETTINGSGEN)
    add_executable(settingsgen ${sourcefiles})

    export(TARGETS settingsgen FILE ${CMAKE_BINARY_DIR}/settingsgen.cmake)
    add_dependencies(tools settingsgen)
endif()