treebird/cmake/append_and_def.cmake
nekobit bfda933431 More CMake stuff
FossilOrigin-Name: d07dcffeebdce3068ada45fb7be2479b36810b6970fa36803a7beb2ddc4667e2
2022-12-05 06:00:54 +00:00

10 lines
287 B
CMake

# For ease of development, you can enable and disable pages. This is useful if
# the code doesn't compile correctly, for which you can do an `#ifdef' with the
# C Preprocessor
function(append_and_def NAME)
foreach(X IN ITEMS ARGV)
list(APPEND NAME X)
endforeach()
endfunction()