mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 02:09:01 +08:00
draco: formatting fixes in draco_features.cmake.
Just line wrapping stuff.
This commit is contained in:
parent
736190f80b
commit
5db6df1985
@ -52,10 +52,13 @@ function(draco_generate_features_h)
|
|||||||
file(APPEND "${draco_features_file_name}.new" "#define ${feature}\n")
|
file(APPEND "${draco_features_file_name}.new" "#define ${feature}\n")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
file(APPEND "${draco_features_file_name}.new" "\n#endif // DRACO_FEATURES_H_")
|
file(APPEND "${draco_features_file_name}.new"
|
||||||
|
"\n#endif // DRACO_FEATURES_H_")
|
||||||
|
|
||||||
# Will replace ${draco_features_file_name} only if the file content has changed.
|
# Will replace ${draco_features_file_name} only if the file content has
|
||||||
# This prevents forced Draco rebuilds after CMake runs.
|
# changed. This prevents forced Draco rebuilds after CMake runs.
|
||||||
configure_file("${draco_features_file_name}.new" "${draco_features_file_name}")
|
configure_file("${draco_features_file_name}.new"
|
||||||
|
"${draco_features_file_name}")
|
||||||
file(REMOVE "${draco_features_file_name}.new")
|
file(REMOVE "${draco_features_file_name}.new")
|
||||||
|
|
||||||
endfunction()
|
endfunction()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user