Codechange: split building into a library and executable

This commit is contained in:
Rubidium
2023-04-10 18:00:53 +02:00
committed by rubidium42
parent 9e89eb5726
commit 9b56505fec
8 changed files with 32 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ function(add_files)
endif()
foreach(FILE IN LISTS PARAM_FILES)
target_sources(openttd PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/${FILE})
target_sources(openttd_lib PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/${FILE})
endforeach()
endfunction()