Skip to content

Commit ac21e10

Browse files
committed
Move to common entry.cpp file
1 parent 27c265d commit ac21e10

File tree

5 files changed

+6
-193
lines changed

5 files changed

+6
-193
lines changed

generator/vk_layer/source/entry.cpp

Lines changed: 0 additions & 97 deletions
This file was deleted.

layer_example/source/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ configure_file(
4141

4242
add_library(
4343
${VK_LAYER} SHARED
44+
${PROJECT_SOURCE_DIR}/../source_common/framework/entry.cpp
4445
device.cpp
45-
entry.cpp
4646
instance.cpp
4747
layer_device_functions.cpp)
4848

layer_gpu_timeline/source/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ configure_file(
4141

4242
add_library(
4343
${VK_LAYER} SHARED
44+
${PROJECT_SOURCE_DIR}/../source_common/framework/entry.cpp
4445
device.cpp
45-
entry.cpp
4646
instance.cpp)
4747

4848
target_include_directories(

layer_gpu_timeline/source/entry.cpp

Lines changed: 0 additions & 94 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
#include "framework/instance_functions_manual.hpp"
3636
#include "framework/utils.hpp"
3737

38+
#if __has_include ("layer_instance_functions.hpp")
39+
#include "layer_instance_functions.hpp"
40+
#endif
41+
3842
std::mutex g_vulkanLock;
3943

4044
extern "C" {

0 commit comments

Comments
 (0)