Update: Translations from eints
[openttd-github.git] / src / settingsgen / CMakeLists.txt
blob91c8eca7c80d4634176c3eb2b9bdc948e89f28b0
1 cmake_minimum_required(VERSION 3.16)
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             ../error.cpp
11             ../ini_load.cpp
12             ../string.cpp
13     )
14     add_definitions(-DSETTINGSGEN)
15     add_executable(settingsgen ${sourcefiles})
17     export(TARGETS settingsgen FILE ${CMAKE_BINARY_DIR}/settingsgen.cmake)
18     add_dependencies(tools settingsgen)
19 endif()