mirror of https://github.com/AxioDL/metaforce.git
Added CMakeLists.txt
This commit is contained in:
parent
573e544819
commit
b22c5e69b6
|
@ -0,0 +1,9 @@
|
|||
cmake_minimum_required(VERSION 3.0)
|
||||
project(hecl)
|
||||
set(HECL_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "HECL include dir" FORCE)
|
||||
add_subdirectory(extern)
|
||||
include_directories(include ${LOG_VISOR_INCLUDE_DIR} ${ATHENA_INCLUDE_DIR})
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
add_subdirectory(lib)
|
||||
add_subdirectory(driver)
|
||||
install(DIRECTORY include/HECL DESTINATION include/HECL)
|
|
@ -0,0 +1,2 @@
|
|||
add_executable(hecl main.cpp)
|
||||
target_link_libraries(hecl LogVisor HECL blowfish pthread)
|
|
@ -1 +1 @@
|
|||
Subproject commit 6ac88b37f481c762b1cfc532eea2062b730a81b1
|
||||
Subproject commit ce917d4aca98551aff497f012a1dfab6975f36c3
|
|
@ -0,0 +1,6 @@
|
|||
set(ATHENA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/Athena/include CACHE PATH "Athena include dir" FORCE)
|
||||
add_subdirectory(libpng)
|
||||
add_subdirectory(blowfish)
|
||||
add_subdirectory(LogVisor)
|
||||
add_subdirectory(Athena)
|
||||
add_subdirectory(RetroCommon)
|
|
@ -1 +1 @@
|
|||
Subproject commit c3dc632dd0f2f750697ccd6ee10898b4f45fb502
|
||||
Subproject commit 4416d51c461c6d6c21ecf6c91c7a1c31210517d2
|
|
@ -1 +1 @@
|
|||
Subproject commit 8cc3c014e6348fbcda511a30235613348fb491bd
|
||||
Subproject commit 4f79743da0821645001a37046b98357c1c3acde9
|
|
@ -0,0 +1,24 @@
|
|||
add_library(png
|
||||
png.h
|
||||
pngconf.h
|
||||
pngdebug.h
|
||||
pnginfo.h
|
||||
pngpriv.h
|
||||
pngstruct.h
|
||||
pnglibconf.h
|
||||
|
||||
png.c
|
||||
pngerror.c
|
||||
pngget.c
|
||||
pngmem.c
|
||||
pngpread.c
|
||||
pngread.c
|
||||
pngrio.c
|
||||
pngrtran.c
|
||||
pngrutil.c
|
||||
pngset.c
|
||||
pngtrans.c
|
||||
pngwio.c
|
||||
pngwrite.c
|
||||
pngwtran.c
|
||||
pngwutil.c)
|
|
@ -74,7 +74,22 @@ public:
|
|||
ProjectPath subpath;
|
||||
bool cookedonly;
|
||||
};
|
||||
virtual bool canExtract(const ExtractPassInfo& info)
|
||||
|
||||
/**
|
||||
* @brief Interactive Extract Option
|
||||
*
|
||||
* Constructed by canExtract() to solicit the user for game-specific
|
||||
* extraction options (i.e. games that are gathered into a trilogy collection)
|
||||
*/
|
||||
struct ExtractOption
|
||||
{
|
||||
SystemString name;
|
||||
SystemString desc;
|
||||
bool defVal;
|
||||
std::vector<ExtractOption> childOpts;
|
||||
};
|
||||
|
||||
virtual bool canExtract(const ExtractPassInfo& info, std::vector<ExtractOption>& opts)
|
||||
{(void)info;LogModule.report(LogVisor::Error, "not implemented");return false;}
|
||||
virtual void doExtract(const Project& project, const ExtractPassInfo& info)
|
||||
{(void)project;(void)info;}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
add_subdirectory(backend)
|
||||
add_subdirectory(database)
|
||||
add_subdirectory(frontend)
|
||||
add_subdirectory(runtime)
|
||||
|
||||
add_library(HECL
|
||||
HECL.cpp
|
||||
ProjectPath.cpp
|
||||
WideStringConvert.cpp)
|
||||
target_link_libraries(HECL
|
||||
HECLBackend
|
||||
HECLDatabase
|
||||
HECLFrontend
|
||||
HECLRuntime)
|
|
@ -0,0 +1 @@
|
|||
add_library(HECLBackend HECLBackend.cpp)
|
|
@ -0,0 +1,3 @@
|
|||
add_library(HECLDatabase
|
||||
Project.cpp
|
||||
Registry.cpp)
|
|
@ -0,0 +1,3 @@
|
|||
add_library(HECLFrontend
|
||||
CHECLIR.cpp
|
||||
CHECLLexer.cpp)
|
|
@ -0,0 +1,2 @@
|
|||
add_library(HECLRuntime
|
||||
HECLRuntime.cpp)
|
Loading…
Reference in New Issue