reorganize packaging system
This commit is contained in:
parent
b3012f0ebb
commit
849ae78113
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
.idea
|
.idea
|
||||||
cmake-build-debug
|
cmake-build-debug
|
||||||
|
bin/*
|
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[submodule "lib/dolphin"]
|
||||||
|
path = lib/dolphin
|
||||||
|
url = https://github.com/dolphin-emu/dolphin.git
|
||||||
|
[submodule "lib/wiimms-iso-tools"]
|
||||||
|
path = lib/wiimms-iso-tools
|
||||||
|
url = https://github.com/Wiimm/wiimms-iso-tools.git
|
@ -1,31 +0,0 @@
|
|||||||
cmake_minimum_required(VERSION 3.13)
|
|
||||||
project(rvz-convert)
|
|
||||||
add_library(Options STATIC src/options.cpp)
|
|
||||||
target_include_directories(Options PUBLIC ${CMAKE_SOURCE_DIR}/src)
|
|
||||||
add_executable(Main src/main.cpp)
|
|
||||||
find_program(MAKE NAMES make)
|
|
||||||
|
|
||||||
include(ExternalProject)
|
|
||||||
|
|
||||||
externalproject_add(Dolphin
|
|
||||||
GIT_REPOSITORY https://github.com/dolphin-emu/dolphin.git
|
|
||||||
GIT_SUBMODULES
|
|
||||||
GIT_TAG 2412
|
|
||||||
PREFIX dolphin
|
|
||||||
BUILD_COMMAND ${CMAKE_COMMAND} --build . --target dolphin-tool -j8
|
|
||||||
UPDATE_COMMAND ""
|
|
||||||
INSTALL_COMMAND ""
|
|
||||||
)
|
|
||||||
|
|
||||||
externalproject_add(WIT
|
|
||||||
GIT_REPOSITORY https://github.com/Wiimm/wiimms-iso-tools.git
|
|
||||||
GIT_SUBMODULES
|
|
||||||
CONFIGURE_COMMAND ""
|
|
||||||
BUILD_IN_SOURCE TRUE
|
|
||||||
BUILD_COMMAND ${MAKE} -C project
|
|
||||||
PREFIX wit
|
|
||||||
UPDATE_COMMAND ""
|
|
||||||
INSTALL_COMMAND ""
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(Main Options)
|
|
4
Makefile
Normal file
4
Makefile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
all: src/main.cpp src/options.cpp submodules
|
||||||
|
cc -Wall -O src/main.cpp src/options.cpp -o bin/rvz-convert -lstdc++
|
||||||
|
|
||||||
|
submodules:
|
1
lib/dolphin
Submodule
1
lib/dolphin
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 510a688a2ae7fd127b8fb29808d8c65af9fa9214
|
1
lib/wiimms-iso-tools
Submodule
1
lib/wiimms-iso-tools
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit fc1c0b840cb3ac41ca6e4f1d5e16da12b47eab58
|
Loading…
x
Reference in New Issue
Block a user