mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
enhancement(nodeps): remove volk dependency
This commit is contained in:
parent
0a6455a381
commit
bfebf9b27e
7 changed files with 6122 additions and 8 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -4,6 +4,3 @@
|
|||
[submodule "thirdparty/toml11"]
|
||||
path = thirdparty/toml11
|
||||
url = https://github.com/ToruNiina/toml11
|
||||
[submodule "thirdparty/volk"]
|
||||
path = thirdparty/volk
|
||||
url = https://github.com/zeux/volk
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ add_compile_options(-fPIC
|
|||
|
||||
add_subdirectory(thirdparty/pe-parse/pe-parser-library EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(thirdparty/toml11 EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(thirdparty/volk EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(framegen)
|
||||
|
||||
if(LSFGVK_EXCESS_DEBUG)
|
||||
|
|
|
|||
|
|
@ -11,13 +11,14 @@ endif()
|
|||
|
||||
project(lsfg-vk-framegen
|
||||
DESCRIPTION "Lossless Scaling Frame Generation Backend"
|
||||
LANGUAGES CXX)
|
||||
LANGUAGES C CXX)
|
||||
|
||||
file(GLOB SOURCES
|
||||
"src/common/*.cpp"
|
||||
"src/config/*.cpp"
|
||||
"src/core/*.cpp"
|
||||
"src/pool/*.cpp"
|
||||
"src/thirdparty/*.c"
|
||||
"src/*.cpp"
|
||||
"v3.1_src/core/*.cpp"
|
||||
"v3.1_src/pool/*.cpp"
|
||||
|
|
@ -38,12 +39,11 @@ set_target_properties(lsfg-vk-framegen PROPERTIES
|
|||
CXX_STANDARD 20
|
||||
CXX_STANDARD_REQUIRED ON)
|
||||
target_include_directories(lsfg-vk-framegen
|
||||
PUBLIC include/thirdparty
|
||||
PUBLIC include
|
||||
PUBLIC public
|
||||
PRIVATE v3.1_include
|
||||
PRIVATE v3.1p_include)
|
||||
target_link_libraries(lsfg-vk-framegen
|
||||
PUBLIC volk)
|
||||
|
||||
# diagnostics
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
|
|
|
|||
2647
framegen/include/thirdparty/volk.h
vendored
Normal file
2647
framegen/include/thirdparty/volk.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
3468
framegen/src/thirdparty/volk.c
vendored
Normal file
3468
framegen/src/thirdparty/volk.c
vendored
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -5,6 +5,10 @@ if(NOT LSFGVK_EXCESS_DEBUG)
|
|||
set(CMAKE_CXX_VISIBILITY_PRESET "hidden")
|
||||
endif()
|
||||
|
||||
if(LSFGVK_EXCESS_DEBUG)
|
||||
add_compile_definitions(LSFGVK_EXCESS_DEBUG)
|
||||
endif()
|
||||
|
||||
project(lsfg-vk-test
|
||||
DESCRIPTION "Test: lsfg-vk"
|
||||
LANGUAGES CXX)
|
||||
|
|
|
|||
1
thirdparty/volk
vendored
1
thirdparty/volk
vendored
|
|
@ -1 +0,0 @@
|
|||
Subproject commit be3dbd49bf77052665e96b6c7484af855e7e5f67
|
||||
Loading…
Add table
Reference in a new issue