Added fully functional build shaders with dependencies on folders
This commit is contained in:
parent
9e72620c1c
commit
2490708486
7 changed files with 88 additions and 8 deletions
|
|
@ -5,13 +5,12 @@ set(CMAKE_CXX_STANDARD 17)
|
|||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
option(KOMPUTE_OPT_INSTALL_PYTHON_REQS "Enable if you want to install python reqs" OFF)
|
||||
option(KOMPUTE_OPT_BUILD_TESTS "Enable if you want to build tests" ON)
|
||||
|
||||
# Allow scripts to call main kompute Makefile
|
||||
function(kompute_make KOMPUTE_MAKE_TARGET)
|
||||
add_custom_target(${KOMPUTE_MAKE_TARGET}
|
||||
COMMAND make -C ${PROJECT_SOURCE_DIR} ${KOMPUTE_MAKE_TARGET} ${ARGN})
|
||||
COMMAND make -C ${PROJECT_SOURCE_DIR} ${KOMPUTE_MAKE_TARGET})
|
||||
endfunction()
|
||||
|
||||
add_subdirectory(src)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue