blob: 86c2d9adf1c282c6d8601da2eb9ad7c0758435e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
if(${CMAKE_ARGC} GREATER 2)
if ("${CMAKE_ARGV4}" STREQUAL "ENONLY")
file(APPEND ${CMAKE_ARGV3} " #define ENGLISH_ONLY")
else()
math(EXPR UPTO ${CMAKE_ARGC}-1)
foreach(i RANGE 4 ${UPTO})
file(APPEND ${CMAKE_ARGV3} " #define LANG_${CMAKE_ARGV${i}}")
endforeach()
endif()
endif()
|