Changeset - r25025:21ea962bbf9f
[Not reviewed]
master
0 1 0
glx22 - 3 years ago 2021-03-09 16:37:08
glx@openttd.org
Codechange: [CMake] Add checks for baseset script parameters
1 file changed with 10 insertions and 0 deletions:
0 comments (0 inline, 0 general)
cmake/scripts/Baseset.cmake
Show inline comments
 
@@ -4,6 +4,16 @@ cmake_minimum_required(VERSION 3.5)
 
# Create a single baseset meta file with the correct translations.
 
#
 

	
 
if(NOT BASESET_SOURCE_FILE)
 
    message(FATAL_ERROR "Script needs BASESET_SOURCE_FILE defined")
 
endif()
 
if(NOT BASESET_BINARY_FILE)
 
    message(FATAL_ERROR "Script needs BASESET_BINARY_FILE defined")
 
endif()
 
if(NOT BASESET_EXTRAGRF_FILE)
 
    message(FATAL_ERROR "Script needs BASESET_EXTRAGRF_FILE defined")
 
endif()
 

	
 
set(ARGC 1)
 
set(ARG_READ NO)
 

	
0 comments (0 inline, 0 general)