Browse Source

Rename the function again

master
Gavin Howard 4 years ago
parent
commit
794b67e86c
Signed by: gavin GPG Key ID: C08038BDF280D33E
  1. 4
      functions.cmake
  2. 0
      gen_data.cmake.in

4
functions.cmake

@ -60,7 +60,7 @@ cmake_policy(SET CMP0026 NEW)
# the name of the array; target is the CMake target that other targets can then
# depend on; and start_line is the line in infile that will be the first line
# in the array, which is useful for excluding header comments.
function(file_to_data infile outfile array_name target start_line cstr)
function(create_data_target infile outfile array_name target start_line cstr)
set(script "${CMAKE_CURRENT_BINARY_DIR}/${target}_script.cmake")
@ -72,7 +72,7 @@ function(file_to_data infile outfile array_name target start_line cstr)
add_library("${target}" "${outfile}")
add_dependencies("${target}" "${target}_script")
endfunction(file_to_data)
endfunction(create_data_target)
function(static_lib_path var lib_output_name)

0
file_data.cmake.in → gen_data.cmake.in

Loading…
Cancel
Save