Add: [CMake] Option to only build tools/docs

This commit is contained in:
glx22
2020-12-13 00:24:55 +01:00
committed by glx22
parent b7851e51ad
commit d1fa6b129c
6 changed files with 98 additions and 65 deletions

View File

@@ -131,6 +131,10 @@ foreach(API "ai;AI" "game;GS" "template;Template")
)
endforeach()
if(OPTION_TOOLS_ONLY)
return()
endif()
add_library(openttd::script_api ALIAS script_api)