Skip to content

TRY (Don't repeat yourself) not used? #97

@ClausKlein

Description

@ClausKlein

see too Don't repeat yourself

Why ist HDK_ROOT_DIRECTORY defined, but mostly not use inside the cmake modules?

bash-5.2$ grep -rw '\.hadouken' *.cmake cmake/
hadouken.cmake:set(HDK_ROOT_DIRECTORY     ${HDK_ROOT_PROJECT_SOURCE_DIR}/.hadouken)
hadouken.cmake:set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/.hadouken/cmake/modules/)
hadouken.cmake:set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/.hadouken/cmake/modules/find)
hadouken.cmake:file(GLOB CORE_MODULES "${PROJECT_SOURCE_DIR}/.hadouken/cmake/modules/core/*.cmake")
hadouken.cmake:file(GLOB TOOLCONF_MODULES "${PROJECT_SOURCE_DIR}/.hadouken/cmake/modules/toolconf/*.cmake")
hadouken.cmake:file(GLOB WRAPPER_MODULES "${PROJECT_SOURCE_DIR}/.hadouken/cmake/modules/wrappers/*.cmake")
cmake//modules/core/MakeComponent.cmake:include(.hadouken/cmake/modules/core/MakeTarget.cmake)
cmake//modules/core/MakeTarget.cmake:include(.hadouken/cmake/modules/core/detail/helper_functions.cmake)
cmake//modules/toolconf/CCache.cmake:include(.hadouken/cmake/modules/toolconf/detail/helper_functions.cmake)
cmake//modules/toolconf/GCov.cmake:include(.hadouken/cmake/modules/toolconf/detail/helper_functions.cmake)
cmake//modules/toolconf/LCov.cmake:include(.hadouken/cmake/modules/toolconf/detail/helper_functions.cmake)
cmake//modules/toolconf/IncludeWhatYouUse.cmake:include(.hadouken/cmake/modules/toolconf/detail/helper_functions.cmake)
cmake//modules/toolconf/ClangFormat.cmake:include(.hadouken/cmake/modules/toolconf/detail/helper_functions.cmake)
cmake//modules/toolconf/GCovR.cmake:include(.hadouken/cmake/modules/toolconf/detail/helper_functions.cmake)
cmake//modules/toolconf/GoogleTest.cmake:        TYPE STATIC SOURCES ${HDK_ROOT_PROJECT_SOURCE_DIR}/.hadouken/cmake/modules/toolconf/GoogleTest.cpp 
cmake//modules/toolconf/CppCheck.cmake:include(.hadouken/cmake/modules/toolconf/detail/helper_functions.cmake)
cmake//modules/toolconf/GoogleBenchmark.cmake:        TYPE STATIC SOURCES ${HDK_ROOT_PROJECT_SOURCE_DIR}/.hadouken/cmake/modules/toolconf/GoogleBenchmark.cpp 
cmake//modules/toolconf/ClangTidy.cmake:include(.hadouken/cmake/modules/toolconf/detail/helper_functions.cmake)
cmake//modules/toolconf/LLVMCov.cmake:include(.hadouken/cmake/modules/toolconf/detail/helper_functions.cmake)
cmake//modules/FeatureCheck.cmake:        if(NOT EXISTS "${HDK_ROOT_PROJECT_SOURCE_DIR}/.hadouken/cmake/modules/check/Check${arg}.cmake")
bash-5.2$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions