Added fully functional build shaders with dependencies on folders

This commit is contained in:
Alejandro Saucedo 2020-08-25 08:39:23 +01:00
parent 9e72620c1c
commit 2490708486
7 changed files with 88 additions and 8 deletions

View file

@ -3,9 +3,10 @@ find_package(fmt REQUIRED)
find_package(spdlog REQUIRED)
find_package(Vulkan REQUIRED)
kompute_make(install_python_reqs)
kompute_make(build_shaders)
kompute_make(build_single_header)
kompute_make(build_shaders
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/include)
kompute_make(build_single_header
OUTPUT ${PROJECT_SOURCE_DIR}/single_include)
file(GLOB kompute_CPP
"${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
@ -31,8 +32,6 @@ add_dependencies(kompute
build_shaders
build_single_header)
add_dependencies(kompute
install_python_reqs)
add_library(kompute::kompute ALIAS kompute)

View file

@ -1,3 +1,23 @@
/*
THIS FILE HAS BEEN AUTOMATICALLY GENERATED - DO NOT EDIT
---
Copyright 2020 The Institute for Ethical AI & Machine Learning
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#ifndef SHADEROP_SHADERMACHINELEARNING_HPP
#define SHADEROP_SHADERMACHINELEARNING_HPP

View file

@ -1,3 +1,23 @@
/*
THIS FILE HAS BEEN AUTOMATICALLY GENERATED - DO NOT EDIT
---
Copyright 2020 The Institute for Ethical AI & Machine Learning
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#ifndef SHADEROP_SHADEROPMULT_HPP
#define SHADEROP_SHADEROPMULT_HPP