1 cmake_minimum_required(VERSION 3.9)
3 if (NOT HOST_BINARY_DIR)
6 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../../cmake")
11 ../core/alloc_func.cpp
12 ../misc/getoptdata.cpp
16 add_definitions(-DSTRGEN)
17 add_executable(strgen ${sourcefiles})
20 add_endian_definition()
22 export(TARGETS strgen FILE ${CMAKE_BINARY_DIR}/strgen.cmake)
23 add_dependencies(tools strgen)
31 add_files(strgen_base.cpp)