Fix #8316: Make sort industries by production and transported with a cargo filter...
[openttd-github.git] / src / settingsgen / CMakeLists.txt
blob43d5284e62c97aeecafd6c9fec27b378ac5ffc80
1 cmake_minimum_required(VERSION 3.9)
3 if (NOT HOST_BINARY_DIR)
4     project(settingsgen)
6     set(sourcefiles
7             settingsgen.cpp
8             ../core/alloc_func.cpp
9             ../misc/getoptdata.cpp
10             ../ini_load.cpp
11             ../string.cpp
12     )
13     add_definitions(-DSETTINGSGEN)
14     add_executable(settingsgen ${sourcefiles})
16     export(TARGETS settingsgen FILE ${CMAKE_BINARY_DIR}/settingsgen.cmake)
17     add_dependencies(tools settingsgen)
18 endif()