Skip to content

Commit

Permalink
generate_type_registration: use per-config python command file
Browse files Browse the repository at this point in the history
  • Loading branch information
phisko committed Mar 2, 2023
1 parent ed8a0a7 commit ece7d15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generate_type_registration.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function(kengine_generate_type_registration)
--root ${source_dir}
--clang-args ${clang_args}
)
set(command_file ${registration_file}_command.py)
set(command_file "${registration_file}_command_$<CONFIG>.py")
putils_generate_python_command_file(${command_file} "${command}")
add_custom_command(
OUTPUT ${registration_file}
Expand All @@ -66,7 +66,7 @@ function(kengine_generate_type_registration)
--export-macro ${export_macro}
--clang-args ${clang_args}
)
set(command_file ${main_file}_command.py)
set(command_file "${main_file}_command_$<CONFIG>.py")
putils_generate_python_command_file(${command_file} "${command}")
add_custom_command(
OUTPUT ${main_file}
Expand Down

0 comments on commit ece7d15

Please sign in to comment.