Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use glob to make cmake file cleaner #28

Open
FelipeMartins96 opened this issue Feb 22, 2023 · 0 comments
Open

Use glob to make cmake file cleaner #28

FelipeMartins96 opened this issue Feb 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@FelipeMartins96
Copy link
Member

          o set Header, set Source e set resources pode ser substituido por:
file(GLOB_RECURSE HEADER_FILES CONFIGURE_DEPENDS "*.h" "*.hh" "*.h++" "*.hxx" "*.H" "*.hpp" "*.qrc" "*.ui")
file(GLOB_RECURSE SOURCE_FILES CONFIGURE_DEPENDS "*.c" "*.cc" "*.c++" "*.cxx" "*.C" "*.cpp" "*.qrc" "*.ui")

add_executable(${PROJECT_NAME} ${HEADER_FILES} ${SOURCE_FILES})

Originally posted by @Riei-Joaquim in #27 (comment)

@FelipeMartins96 FelipeMartins96 added the enhancement New feature or request label Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant