Added base for building kompute
This commit is contained in:
parent
20bc15a294
commit
32caa1aa60
4 changed files with 24 additions and 10 deletions
|
|
@ -48,15 +48,15 @@ if(KOMPUTE_OPT_ANDOID_BUILD)
|
|||
# ${VK_ANDROID_COMMON_DIR}/vulkan_wrapper.cpp)
|
||||
endif()
|
||||
|
||||
if(KOMPUTE_OPT_BUILD_SINGLE_HEADER)
|
||||
if(KOMPUTE_OPT_ANDOID_BUILD)
|
||||
add_library(kompute
|
||||
${kompute_CPP}
|
||||
${PROJECT_SOURCE_DIR}/vulkan_ndk_patch_include/kompute_vulkan_wrapper.cpp)
|
||||
else()
|
||||
add_library(kompute
|
||||
${kompute_CPP})
|
||||
endif()
|
||||
|
||||
add_library(kompute
|
||||
${kompute_CPP}
|
||||
${PROJECT_SOURCE_DIR}/vulkan_ndk_patch_include/kompute_vulkan_wrapper.cpp)
|
||||
|
||||
target_include_directories(
|
||||
kompute PUBLIC
|
||||
$<INSTALL_INTERFACE:include>
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@
|
|||
#define RELEASE 1
|
||||
#endif
|
||||
//#define USE_DEBUG_EXTENTIONS
|
||||
//#include <kompute_vulkan_wrapper.hpp>
|
||||
#include <kompute_vulkan_wrapper.hpp>
|
||||
|
||||
//#undef VK_NO_PROTOTYPES
|
||||
#undef VK_NO_PROTOTYPES
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
// SPDLOG_ACTIVE_LEVEL must be defined before spdlog.h import
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue