mirror of https://github.com/AxioDL/metaforce.git
Move all submodules to extern
This commit is contained in:
parent
3c2dd5b95a
commit
e9008c9e25
|
@ -1,21 +1,21 @@
|
||||||
[submodule "nod"]
|
[submodule "nod"]
|
||||||
path = nod
|
path = extern/nod
|
||||||
url = ../nod.git
|
url = ../nod.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "amuse"]
|
[submodule "amuse"]
|
||||||
path = amuse
|
path = extern/amuse
|
||||||
url = ../amuse.git
|
url = ../amuse.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "kabufuda"]
|
[submodule "kabufuda"]
|
||||||
path = kabufuda
|
path = extern/kabufuda
|
||||||
url = ../kabufuda.git
|
url = ../kabufuda.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "jbus"]
|
[submodule "jbus"]
|
||||||
path = jbus
|
path = extern/jbus
|
||||||
url = ../jbus.git
|
url = ../jbus.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "assetnameparser/tinyxml2"]
|
[submodule "assetnameparser/tinyxml2"]
|
||||||
path = assetnameparser/tinyxml2
|
path = extern/tinyxml2
|
||||||
url = ../tinyxml2.git
|
url = ../tinyxml2.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "hecl-gui"]
|
[submodule "hecl-gui"]
|
||||||
|
@ -23,42 +23,42 @@
|
||||||
url = ../hecl-gui.git
|
url = ../hecl-gui.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "sanitizers-cmake"]
|
[submodule "sanitizers-cmake"]
|
||||||
path = sanitizers-cmake
|
path = extern/sanitizers-cmake
|
||||||
url = https://github.com/arsenm/sanitizers-cmake.git
|
url = https://github.com/arsenm/sanitizers-cmake.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "discord-rpc"]
|
[submodule "discord-rpc"]
|
||||||
path = discord-rpc
|
path = extern/discord-rpc
|
||||||
url = https://github.com/discordapp/discord-rpc.git
|
url = https://github.com/discordapp/discord-rpc.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "rapidjson"]
|
[submodule "rapidjson"]
|
||||||
path = rapidjson
|
path = extern/rapidjson
|
||||||
url = https://github.com/Tencent/rapidjson.git
|
url = https://github.com/Tencent/rapidjson.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "NESEmulator/fixNES"]
|
[submodule "NESEmulator/fixNES"]
|
||||||
path = NESEmulator/fixNES
|
path = extern/fixNES
|
||||||
url = https://github.com/FIX94/fixNES.git
|
url = https://github.com/FIX94/fixNES.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "extern/libSquish"]
|
[submodule "extern/libSquish"]
|
||||||
path = hecl/extern/libSquish
|
path = extern/libSquish
|
||||||
url = ../libSquish.git
|
url = ../libSquish.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "extern/athena"]
|
[submodule "extern/athena"]
|
||||||
path = hecl/extern/athena
|
path = extern/athena
|
||||||
url = ../../libAthena/athena.git
|
url = ../../libAthena/athena.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "extern/boo"]
|
[submodule "extern/boo"]
|
||||||
path = hecl/extern/boo
|
path = extern/boo
|
||||||
url = ../boo.git
|
url = ../boo.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "extern/libjpeg-turbo"]
|
[submodule "extern/libjpeg-turbo"]
|
||||||
path = hecl/extern/libjpeg-turbo
|
path = extern/libjpeg-turbo
|
||||||
url = ../libjpeg-turbo.git
|
url = ../libjpeg-turbo.git
|
||||||
branch = thp
|
branch = thp
|
||||||
[submodule "freetype2"]
|
[submodule "freetype2"]
|
||||||
path = specter/freetype2
|
path = extern/freetype2
|
||||||
url = ../freetype2
|
url = ../freetype2
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "zeus"]
|
[submodule "zeus"]
|
||||||
path = zeus
|
path = extern/zeus
|
||||||
url = ../zeus.git
|
url = ../zeus.git
|
||||||
branch = master
|
branch = master
|
||||||
|
|
|
@ -103,7 +103,7 @@ endif()
|
||||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Force shared libs off" FORCE)
|
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Force shared libs off" FORCE)
|
||||||
set(BUILD_STATIC_LIBS ON CACHE BOOL "Force static libs on" FORCE)
|
set(BUILD_STATIC_LIBS ON CACHE BOOL "Force static libs on" FORCE)
|
||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/sanitizers-cmake/cmake")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/extern/sanitizers-cmake/cmake")
|
||||||
find_package(Sanitizers)
|
find_package(Sanitizers)
|
||||||
|
|
||||||
if (CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL AMD64)
|
if (CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL AMD64)
|
||||||
|
@ -331,15 +331,15 @@ endif()
|
||||||
|
|
||||||
# Add discord-rpc here
|
# Add discord-rpc here
|
||||||
if(NOT GEKKO AND NOT NX)
|
if(NOT GEKKO AND NOT NX)
|
||||||
set(PROJECT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/discord-rpc)
|
set(PROJECT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/extern/discord-rpc)
|
||||||
if (NOT CMAKE_INSTALL_LIBDIR)
|
if (NOT CMAKE_INSTALL_LIBDIR)
|
||||||
set(CMAKE_INSTALL_LIBDIR ${CMAKE_BINARY_DIR}/fake-prefix)
|
set(CMAKE_INSTALL_LIBDIR ${CMAKE_BINARY_DIR}/fake-prefix)
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory(discord-rpc/src)
|
add_subdirectory(extern/discord-rpc/src)
|
||||||
target_include_directories(discord-rpc PRIVATE rapidjson/include PUBLIC discord-rpc/include)
|
target_include_directories(discord-rpc PRIVATE extern/rapidjson/include PUBLIC extern/discord-rpc/include)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(nod)
|
add_subdirectory(extern/nod)
|
||||||
|
|
||||||
set(DATA_SPEC_LIBS RetroDataSpec AssetNameMap)
|
set(DATA_SPEC_LIBS RetroDataSpec AssetNameMap)
|
||||||
set(HECL_DATASPEC_DECLS
|
set(HECL_DATASPEC_DECLS
|
||||||
|
@ -369,12 +369,17 @@ set(HECL_DATASPEC_PUSHES
|
||||||
hecl::Database::DATA_SPEC_REGISTRY.push_back(&DataSpec::SpecEntMP3PC);
|
hecl::Database::DATA_SPEC_REGISTRY.push_back(&DataSpec::SpecEntMP3PC);
|
||||||
hecl::Database::DATA_SPEC_REGISTRY.push_back(&DataSpec::SpecEntMP3ORIG);")
|
hecl::Database::DATA_SPEC_REGISTRY.push_back(&DataSpec::SpecEntMP3ORIG);")
|
||||||
|
|
||||||
|
add_subdirectory(extern/athena)
|
||||||
|
add_subdirectory(extern/boo)
|
||||||
add_subdirectory(hecl/shaderc)
|
add_subdirectory(hecl/shaderc)
|
||||||
include(hecl/ApplicationTools.cmake)
|
include(hecl/ApplicationTools.cmake)
|
||||||
add_subdirectory(specter/shaders)
|
add_subdirectory(specter/shaders)
|
||||||
add_subdirectory(Shaders)
|
add_subdirectory(Shaders)
|
||||||
|
add_subdirectory(extern/libSquish)
|
||||||
|
add_subdirectory(extern/libpng)
|
||||||
|
add_subdirectory(extern/libjpeg-turbo)
|
||||||
add_subdirectory(hecl)
|
add_subdirectory(hecl)
|
||||||
add_subdirectory(zeus)
|
add_subdirectory(extern/zeus)
|
||||||
target_include_directories(hecl-full PRIVATE ${CMAKE_SOURCE_DIR})
|
target_include_directories(hecl-full PRIVATE ${CMAKE_SOURCE_DIR})
|
||||||
target_include_directories(hecl-light PRIVATE ${CMAKE_SOURCE_DIR})
|
target_include_directories(hecl-light PRIVATE ${CMAKE_SOURCE_DIR})
|
||||||
target_link_libraries(hecl-full PRIVATE zeus nod)
|
target_link_libraries(hecl-full PRIVATE zeus nod)
|
||||||
|
@ -409,18 +414,22 @@ if(NOT TARGET atdna)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(amuse)
|
add_subdirectory(extern/amuse)
|
||||||
|
add_subdirectory(extern/freetype2)
|
||||||
|
if (NOT MSVC)
|
||||||
|
target_compile_options(freetype PRIVATE -Wno-implicit-fallthrough)
|
||||||
|
endif()
|
||||||
add_subdirectory(specter)
|
add_subdirectory(specter)
|
||||||
target_include_directories(specter PRIVATE ${CMAKE_SOURCE_DIR})
|
target_include_directories(specter PRIVATE ${CMAKE_SOURCE_DIR})
|
||||||
target_link_libraries(specter PRIVATE nod)
|
target_link_libraries(specter PRIVATE nod)
|
||||||
add_subdirectory(assetnameparser)
|
add_subdirectory(assetnameparser)
|
||||||
add_compile_definitions(URDE_ZIP_INPUT_STREAM=1) # Enable CZipInputStream now that zlib header is known
|
add_compile_definitions(URDE_ZIP_INPUT_STREAM=1) # Enable CZipInputStream now that zlib header is known
|
||||||
add_subdirectory(DataSpec)
|
add_subdirectory(DataSpec)
|
||||||
add_subdirectory(kabufuda)
|
add_subdirectory(extern/kabufuda)
|
||||||
add_subdirectory(Editor)
|
add_subdirectory(Editor)
|
||||||
|
|
||||||
add_subdirectory(jbus)
|
add_subdirectory(extern/jbus)
|
||||||
set(JBUS_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/jbus/include)
|
set(JBUS_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/extern/jbus/include)
|
||||||
|
|
||||||
set(CLIENT_SOURCES
|
set(CLIENT_SOURCES
|
||||||
${CMAKE_SOURCE_DIR}/Editor/ProjectResourceFactoryBase.hpp
|
${CMAKE_SOURCE_DIR}/Editor/ProjectResourceFactoryBase.hpp
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
file(GLOB MAPPER_SRCS fixNES/mapper/*.c)
|
file(GLOB MAPPER_SRCS ../extern/fixNES/mapper/*.c)
|
||||||
add_library(NESEmulator CNESEmulator.hpp CNESEmulator.cpp CNESShader.hpp CNESShader.cpp malloc.h
|
add_library(NESEmulator CNESEmulator.hpp CNESEmulator.cpp CNESShader.hpp CNESShader.cpp malloc.h
|
||||||
apu.c fixNES/audio_fds.c fixNES/audio_mmc5.c fixNES/audio_vrc6.c fixNES/audio_vrc7.c
|
apu.c ../extern/fixNES/audio_fds.c ../extern/fixNES/audio_mmc5.c ../extern/fixNES/audio_vrc6.c
|
||||||
fixNES/audio_n163.c fixNES/audio_s5b.c fixNES/cpu.c ppu.c fixNES/mem.c fixNES/input.c
|
../extern/fixNES/audio_vrc7.c ../extern/fixNES/audio_n163.c ../extern/fixNES/audio_s5b.c
|
||||||
fixNES/mapper.c fixNES/mapperList.c fixNES/fm2play.c fixNES/vrc_irq.c ${MAPPER_SRCS})
|
../extern/fixNES/cpu.c ppu.c ../extern/fixNES/mem.c ../extern/fixNES/input.c ../extern/fixNES/mapper.c
|
||||||
target_include_directories(NESEmulator PRIVATE ${CMAKE_SOURCE_DIR}/DataSpec ${CMAKE_SOURCE_DIR}/Runtime
|
../extern/fixNES/mapperList.c ../extern/fixNES/fm2play.c ../extern/fixNES/vrc_irq.c ${MAPPER_SRCS})
|
||||||
|
target_include_directories(NESEmulator PRIVATE
|
||||||
|
${CMAKE_SOURCE_DIR}/DataSpec
|
||||||
|
${CMAKE_SOURCE_DIR}/Runtime
|
||||||
|
${CMAKE_SOURCE_DIR}/extern
|
||||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
target_compile_definitions(NESEmulator PRIVATE COL_32BIT=1 COL_TEX_BSWAP=1)
|
target_compile_definitions(NESEmulator PRIVATE COL_32BIT=1 COL_TEX_BSWAP=1)
|
||||||
target_link_libraries(NESEmulator boo hecl-full RuntimeCommon ${HECL_APPLICATION_REPS_TARGETS_LIST})
|
target_link_libraries(NESEmulator boo hecl-full RuntimeCommon ${HECL_APPLICATION_REPS_TARGETS_LIST})
|
||||||
|
|
|
@ -1,46 +1,65 @@
|
||||||
include_directories(../hecl/include
|
|
||||||
../hecl/extern/boo/include
|
|
||||||
../hecl/extern/athena/include
|
|
||||||
../specter/zeus/include
|
|
||||||
../nod/include
|
|
||||||
../nod/logvisor/include
|
|
||||||
../nod/logvisor/fmt/include
|
|
||||||
../DataSpec
|
|
||||||
../Runtime
|
|
||||||
..)
|
|
||||||
add_compile_definitions(ZE_ATHENA_TYPES=1)
|
|
||||||
add_shader(CAABoxShader)
|
add_shader(CAABoxShader)
|
||||||
|
target_link_libraries(shader_CAABoxShader PRIVATE hecl-light)
|
||||||
add_shader(CCameraBlurFilter)
|
add_shader(CCameraBlurFilter)
|
||||||
|
target_link_libraries(shader_CCameraBlurFilter PRIVATE hecl-light)
|
||||||
add_shader(CColoredQuadFilter)
|
add_shader(CColoredQuadFilter)
|
||||||
|
target_link_libraries(shader_CColoredQuadFilter PRIVATE hecl-light)
|
||||||
add_shader(CColoredStripShader)
|
add_shader(CColoredStripShader)
|
||||||
|
target_link_libraries(shader_CColoredStripShader PRIVATE hecl-light)
|
||||||
add_shader(CDecalShaders)
|
add_shader(CDecalShaders)
|
||||||
|
target_link_libraries(shader_CDecalShaders PRIVATE hecl-light)
|
||||||
add_shader(CElementGenShaders)
|
add_shader(CElementGenShaders)
|
||||||
|
target_link_libraries(shader_CElementGenShaders PRIVATE hecl-light)
|
||||||
add_shader(CEnergyBarShader)
|
add_shader(CEnergyBarShader)
|
||||||
|
target_link_libraries(shader_CEnergyBarShader PRIVATE hecl-light)
|
||||||
add_shader(CEnvFxShaders)
|
add_shader(CEnvFxShaders)
|
||||||
|
target_link_libraries(shader_CEnvFxShaders PRIVATE hecl-light)
|
||||||
add_shader(CFogVolumeFilter)
|
add_shader(CFogVolumeFilter)
|
||||||
|
target_link_libraries(shader_CFogVolumeFilter PRIVATE hecl-light)
|
||||||
add_shader(CFogVolumePlaneShader)
|
add_shader(CFogVolumePlaneShader)
|
||||||
|
target_link_libraries(shader_CFogVolumePlaneShader PRIVATE hecl-light)
|
||||||
add_shader(CLineRendererShaders)
|
add_shader(CLineRendererShaders)
|
||||||
|
target_link_libraries(shader_CLineRendererShaders PRIVATE hecl-light)
|
||||||
add_shader(CMapSurfaceShader)
|
add_shader(CMapSurfaceShader)
|
||||||
|
target_link_libraries(shader_CMapSurfaceShader PRIVATE hecl-light)
|
||||||
add_shader(CMoviePlayerShader)
|
add_shader(CMoviePlayerShader)
|
||||||
|
target_link_libraries(shader_CMoviePlayerShader PRIVATE hecl-light)
|
||||||
add_shader(CNESShader)
|
add_shader(CNESShader)
|
||||||
|
target_link_libraries(shader_CNESShader PRIVATE hecl-light)
|
||||||
add_shader(CParticleSwooshShaders)
|
add_shader(CParticleSwooshShaders)
|
||||||
|
target_link_libraries(shader_CParticleSwooshShaders PRIVATE hecl-light)
|
||||||
add_shader(CPhazonSuitFilter)
|
add_shader(CPhazonSuitFilter)
|
||||||
|
target_link_libraries(shader_CPhazonSuitFilter PRIVATE hecl-light)
|
||||||
add_shader(CRadarPaintShader)
|
add_shader(CRadarPaintShader)
|
||||||
|
target_link_libraries(shader_CRadarPaintShader PRIVATE hecl-light)
|
||||||
add_shader(CRandomStaticFilter)
|
add_shader(CRandomStaticFilter)
|
||||||
|
target_link_libraries(shader_CRandomStaticFilter PRIVATE hecl-light)
|
||||||
add_shader(CScanLinesFilter)
|
add_shader(CScanLinesFilter)
|
||||||
|
target_link_libraries(shader_CScanLinesFilter PRIVATE hecl-light)
|
||||||
add_shader(CSpaceWarpFilter)
|
add_shader(CSpaceWarpFilter)
|
||||||
|
target_link_libraries(shader_CSpaceWarpFilter PRIVATE hecl-light)
|
||||||
add_shader(CTextSupportShader)
|
add_shader(CTextSupportShader)
|
||||||
|
target_link_libraries(shader_CTextSupportShader PRIVATE hecl-light)
|
||||||
add_shader(CTexturedQuadFilter)
|
add_shader(CTexturedQuadFilter)
|
||||||
|
target_link_libraries(shader_CTexturedQuadFilter PRIVATE hecl-light)
|
||||||
add_shader(CThermalColdFilter)
|
add_shader(CThermalColdFilter)
|
||||||
|
target_link_libraries(shader_CThermalColdFilter PRIVATE hecl-light)
|
||||||
add_shader(CThermalHotFilter)
|
add_shader(CThermalHotFilter)
|
||||||
|
target_link_libraries(shader_CThermalHotFilter PRIVATE hecl-light)
|
||||||
add_shader(CWorldShadowShader)
|
add_shader(CWorldShadowShader)
|
||||||
|
target_link_libraries(shader_CWorldShadowShader PRIVATE hecl-light)
|
||||||
add_shader(CXRayBlurFilter)
|
add_shader(CXRayBlurFilter)
|
||||||
|
target_link_libraries(shader_CXRayBlurFilter PRIVATE hecl-light)
|
||||||
add_special_shader(shader_CFluidPlaneShader
|
add_special_shader(shader_CFluidPlaneShader
|
||||||
shader_CFluidPlaneShader.cpp
|
shader_CFluidPlaneShader.cpp
|
||||||
shader_CFluidPlaneShaderGLSL.cpp
|
shader_CFluidPlaneShaderGLSL.cpp
|
||||||
shader_CFluidPlaneShaderHLSL.cpp
|
shader_CFluidPlaneShaderHLSL.cpp
|
||||||
shader_CFluidPlaneShaderMetal.cpp)
|
shader_CFluidPlaneShaderMetal.cpp)
|
||||||
|
target_link_libraries(shader_CFluidPlaneShader PRIVATE hecl-light)
|
||||||
add_special_shader(shader_CModelShaders
|
add_special_shader(shader_CModelShaders
|
||||||
shader_CModelShadersGLSL.cpp
|
shader_CModelShadersGLSL.cpp
|
||||||
shader_CModelShadersHLSL.cpp
|
shader_CModelShadersHLSL.cpp
|
||||||
shader_CModelShadersMetal.cpp)
|
shader_CModelShadersMetal.cpp)
|
||||||
|
target_link_libraries(shader_CModelShaders PRIVATE hecl-light nod)
|
||||||
|
# FIXME hack for DataSpec includes
|
||||||
|
target_include_directories(shader_CModelShaders PRIVATE ${CMAKE_SOURCE_DIR})
|
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10 FATAL_ERROR) # because of c++17
|
||||||
|
|
||||||
set(TINYXML_LIB_VERSION "5.0.1")
|
set(TINYXML_LIB_VERSION "5.0.1")
|
||||||
set(TINYXML_LIB_SOVERSION "5")
|
set(TINYXML_LIB_SOVERSION "5")
|
||||||
add_library(tinyxml2_static STATIC tinyxml2/tinyxml2.cpp tinyxml2/tinyxml2.h)
|
add_library(tinyxml2_static STATIC ../extern/tinyxml2/tinyxml2.cpp ../extern/tinyxml2/tinyxml2.h)
|
||||||
set_target_properties(tinyxml2_static PROPERTIES
|
set_target_properties(tinyxml2_static PROPERTIES
|
||||||
COMPILE_DEFINITONS "TINYXML2_EXPORT"
|
COMPILE_DEFINITONS "TINYXML2_EXPORT"
|
||||||
VERSION "${TINYXML_LIB_VERSION}"
|
VERSION "${TINYXML_LIB_VERSION}"
|
||||||
|
|
|
@ -52,7 +52,6 @@ endforeach()
|
||||||
|
|
||||||
configure_file(include/hecl/ApplicationReps.hpp.in ${CMAKE_CURRENT_BINARY_DIR}/ApplicationReps.hpp @ONLY)
|
configure_file(include/hecl/ApplicationReps.hpp.in ${CMAKE_CURRENT_BINARY_DIR}/ApplicationReps.hpp @ONLY)
|
||||||
|
|
||||||
add_subdirectory(extern)
|
|
||||||
add_subdirectory(bintoc)
|
add_subdirectory(bintoc)
|
||||||
|
|
||||||
if(NOT TARGET bintoc)
|
if(NOT TARGET bintoc)
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
add_subdirectory(boo)
|
|
||||||
add_subdirectory(libSquish)
|
|
||||||
add_subdirectory(athena)
|
|
||||||
add_subdirectory(libpng)
|
|
||||||
add_subdirectory(libjpeg-turbo)
|
|
|
@ -6,9 +6,9 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <boo/graphicsdev/IGraphicsDataFactory.hpp>
|
#include <boo/graphicsdev/IGraphicsDataFactory.hpp>
|
||||||
|
#include <xxhash/xxhash.h>
|
||||||
|
|
||||||
#include "hecl.hpp"
|
#include "hecl.hpp"
|
||||||
#include "../extern/boo/xxhash/xxhash.h"
|
|
||||||
|
|
||||||
namespace hecl::Backend {
|
namespace hecl::Backend {
|
||||||
struct ExtensionSlot;
|
struct ExtensionSlot;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "hecl/Compilers.hpp"
|
#include "hecl/Compilers.hpp"
|
||||||
|
|
||||||
#include <boo/graphicsdev/IGraphicsDataFactory.hpp>
|
#include <boo/graphicsdev/IGraphicsDataFactory.hpp>
|
||||||
#include "../extern/boo/xxhash/xxhash.h"
|
#include <xxhash/xxhash.h>
|
||||||
|
|
||||||
#define HECL_RUNTIME 1
|
#define HECL_RUNTIME 1
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ extern "C" int rep_closefrom(int lower);
|
||||||
|
|
||||||
#include "logvisor/logvisor.hpp"
|
#include "logvisor/logvisor.hpp"
|
||||||
#include "athena/Global.hpp"
|
#include "athena/Global.hpp"
|
||||||
#include "../extern/boo/xxhash/xxhash.h"
|
#include "xxhash/xxhash.h"
|
||||||
#include "SystemChar.hpp"
|
#include "SystemChar.hpp"
|
||||||
#include "FourCC.hpp"
|
#include "FourCC.hpp"
|
||||||
|
|
||||||
|
|
|
@ -56,8 +56,7 @@ set(COMMON_SOURCES
|
||||||
ClientProcess.cpp
|
ClientProcess.cpp
|
||||||
SteamFinder.cpp
|
SteamFinder.cpp
|
||||||
WideStringConvert.cpp
|
WideStringConvert.cpp
|
||||||
Compilers.cpp
|
Compilers.cpp)
|
||||||
Pipeline.cpp)
|
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
list(APPEND PLAT_SRCS closefrom.c)
|
list(APPEND PLAT_SRCS closefrom.c)
|
||||||
|
@ -69,7 +68,8 @@ add_library(hecl-full
|
||||||
${BLENDER_SOURCES}
|
${BLENDER_SOURCES}
|
||||||
${COMMON_SOURCES}
|
${COMMON_SOURCES}
|
||||||
${HECL_HEADERS}
|
${HECL_HEADERS}
|
||||||
${PLAT_SRCS})
|
${PLAT_SRCS}
|
||||||
|
Pipeline.cpp)
|
||||||
target_include_directories(hecl-full PUBLIC ../include)
|
target_include_directories(hecl-full PUBLIC ../include)
|
||||||
target_link_libraries(hecl-full PUBLIC ${HECL_APPLICATION_REPS_TARGETS_LIST}
|
target_link_libraries(hecl-full PUBLIC ${HECL_APPLICATION_REPS_TARGETS_LIST}
|
||||||
hecl-blender-addon boo athena-core logvisor)
|
hecl-blender-addon boo athena-core logvisor)
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
add_subdirectory(freetype2)
|
|
||||||
if (NOT MSVC)
|
|
||||||
target_compile_options(freetype PRIVATE -Wno-implicit-fallthrough)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_subdirectory(resources/fonts)
|
add_subdirectory(resources/fonts)
|
||||||
|
|
||||||
add_library(specter
|
add_library(specter
|
||||||
|
@ -94,5 +89,5 @@ target_link_libraries(specter PUBLIC
|
||||||
UrdeLocales
|
UrdeLocales
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(specter PUBLIC include freetype2/include)
|
target_include_directories(specter PUBLIC include "${CMAKE_SOURCE_DIR}/extern/freetype2/include")
|
||||||
target_atdna(specter atdna_FontCache.cpp include/specter/FontCache.hpp)
|
target_atdna(specter atdna_FontCache.cpp include/specter/FontCache.hpp)
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
include_directories(../../hecl/include
|
|
||||||
../../hecl/extern/boo/include
|
|
||||||
../../hecl/extern/boo/logvisor/include
|
|
||||||
../../nod/logvisor/fmt/include)
|
|
||||||
add_shader(SpecterViewShaders)
|
add_shader(SpecterViewShaders)
|
||||||
|
target_link_libraries(shader_SpecterViewShaders PRIVATE hecl-light)
|
||||||
add_shader(SpecterTextViewShaders)
|
add_shader(SpecterTextViewShaders)
|
||||||
|
target_link_libraries(shader_SpecterTextViewShaders PRIVATE hecl-light)
|
||||||
|
|
Loading…
Reference in New Issue