Move code around

This commit is contained in:
FakeMichau
2025-06-13 01:08:41 +02:00
parent c5312e4fda
commit 8bcfebbd5c
13 changed files with 27 additions and 13 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
#include "low_latency.h"
#include "ll_antilag2.h"
#include "ll_antilag_vk.h"
#include "ll_latencyflex.h"
#include "ll_xell.h"
#include "low_latency_tech/ll_antilag2.h"
#include "low_latency_tech/ll_antilag_vk.h"
#include "low_latency_tech/ll_latencyflex.h"
#include "low_latency_tech/ll_xell.h"
#include "log.h"
#include "config.h"
+1 -1
View File
@@ -1,6 +1,6 @@
#pragma once
#include "low_latency_tech.h"
#include "low_latency_tech/low_latency_tech.h"
#include <dxgi.h>
#if _MSC_VER
@@ -1 +0,0 @@
#include "low_latency_tech.h"
+22 -7
View File
@@ -1,9 +1,24 @@
dll = shared_library(
'nvapi'+target_suffix,
['main.cpp', 'fakenvapi.cpp', 'low_latency.cpp', 'low_latency_tech.cpp', 'll_antilag2.cpp', 'll_antilag_vk.cpp', 'll_xell.cpp', 'll_latencyflex.cpp', 'vulkan_hooks.cpp', 'util.cpp', 'log.cpp', fakenvapi_version],
src = files([
'main.cpp',
'fakenvapi.cpp',
'low_latency.cpp',
'low_latency_tech/ll_antilag2.cpp',
'low_latency_tech/ll_antilag_vk.cpp',
'low_latency_tech/ll_xell.cpp',
'low_latency_tech/ll_latencyflex.cpp',
'vulkan_hooks.cpp',
'util.cpp',
'log.cpp'
])
fakenvapi_version_dep = declare_dependency(sources: fakenvapi_version)
shared_library(
'nvapi' + target_suffix,
src,
rc,
name_prefix : '',
dependencies : [ lib_dxgi, lib_detours ],
include_directories: [ spdlog_headers, xell_headers, detours_headers, vulkan_headers ],
install: true
name_prefix: '',
dependencies: [fakenvapi_version_dep, lib_dxgi, lib_detours],
include_directories: [spdlog_headers, xell_headers, detours_headers, vulkan_headers],
install: true,
)