13,007
回編集
86行目: | 86行目: | ||
file2.cpp | file2.cpp | ||
) | ) | ||
</syntaxhighlight> | |||
<br> | |||
<syntaxhighlight lang="cmake"> | |||
# 画像ファイルの取得 (PNG, JPG, SVG) | |||
execute_process( | |||
COMMAND find ${CMAKE_CURRENT_SOURCE_DIR}/Image -iname "*.png" -o -iname "*.jpg" -o -iname "*.svg" | |||
OUTPUT_VARIABLE IMAGES | |||
) | |||
string(REPLACE "\n" ";" IMAGE_FILES "${IMAGES}") | |||
</syntaxhighlight> | </syntaxhighlight> | ||
<br> | <br> |