Added single header include

This commit is contained in:
Alejandro Saucedo 2020-08-24 22:14:49 +01:00
parent af74e25e35
commit 6ef768f0ca
7 changed files with 750 additions and 5 deletions

View file

@ -3,6 +3,11 @@ find_package(Catch2 REQUIRED)
add_executable(test_kompute Main.cpp)
target_include_directories(
test_kompute PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/single_include>
)
target_link_libraries(test_kompute PRIVATE Catch2::Catch2)
target_link_libraries(test_kompute PRIVATE kompute)

View file

@ -16,10 +16,7 @@
#include <vulkan/vulkan.h>
#include <vulkan/vulkan.hpp>
#include "kompute/Manager.hpp"
#include "kompute/OpCreateTensor.hpp"
#include "kompute/OpMult.hpp"
#include "kompute/Tensor.hpp"
#include "kompute/Kompute.hpp"
int
main()