Skip to content

Commit

Permalink
xpSourceListAppend: automatically add .github/*
Browse files Browse the repository at this point in the history
issue #369
  • Loading branch information
Scott M Anderson committed Jan 6, 2023
1 parent 4ab2adb commit 65c9670
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/xpfunmac.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1066,11 +1066,11 @@ macro(xpSourceListAppend)
list(APPEND masterSrcList ${dcFiles})
endif()
if(EXISTS ${_dir}/.github)
file(GLOB_RECURSE github_yml "${_dir}/.github/workflows/*.yml")
source_group(".github.yml" FILES ${github_yml})
list(APPEND masterSrcList ${github_yml})
file(GLOB_RECURSE githubFiles "${_dir}/.github/*")
source_group(".github" FILES ${githubFiles})
list(APPEND masterSrcList ${githubFiles})
endif()
add_custom_target(${custTgt} SOURCES ${miscFiles} ${crFiles} ${dcFiles} ${github_yml})
add_custom_target(${custTgt} SOURCES ${miscFiles} ${crFiles} ${dcFiles} ${githubFiles})
set_property(TARGET ${custTgt} PROPERTY FOLDER ${folder})
endif()
endif()
Expand Down

0 comments on commit 65c9670

Please sign in to comment.