Skip to content

Commit

Permalink
Merge pull request #86 from uyjulian/copy_example_resources
Browse files Browse the repository at this point in the history
Copy example resources to build folder
  • Loading branch information
fjtrujy authored Dec 12, 2024
2 parents 9ef2892 + 974a3be commit 843ab0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ if(NOT SKIP_BUILD_EXAMPLES)
target_link_libraries(${targetname}
${GSKIT_SAMPLE_LIBS}
)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/examples/${targetname}/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR} FILES_MATCHING REGEX "\\.(bmp|dat|fnt|jpg|png|ppm|raw|s|tiff)$")
endmacro (add_executable_example)

set(GSKIT_SAMPLE_DIRS "")
Expand Down

0 comments on commit 843ab0a

Please sign in to comment.