Files
@ r26745:baeac55e5810
Branch filter:
Location: cpp/openttd-patchpack/source/src/settingsgen/CMakeLists.txt - annotation
r26745:baeac55e5810
472 B
text/plain
Codechange: use smart pointers when creating StringIterators
r24733:1771b85df64c r24244:556df3f1e087 r24402:18218e3ed070 r24402:18218e3ed070 r24244:556df3f1e087 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 r24402:18218e3ed070 | cmake_minimum_required(VERSION 3.9)
if (NOT HOST_BINARY_DIR)
project(settingsgen)
set(sourcefiles
settingsgen.cpp
../core/alloc_func.cpp
../misc/getoptdata.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()
|