modeco80
a95d104e7f
I have been preparing for this for a while. Instead of having a bunch of strewn out utilities, let's just have one solid multitool which is nice to use. This commit also removes europa_pack_extractor, as it's now unnesscary and replaced with a better utility, that does more. Creation wasn't implemented yet, but I really need to sleep. It can be done later, and pakcreate can be used as a temporary stopgap.
45 lines
1.1 KiB
CMake
Executable file
45 lines
1.1 KiB
CMake
Executable file
#
|
|
# EuropaTools
|
|
#
|
|
# (C) 2021-2022 modeco80 <lily.modeco80@protonmail.ch>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
#
|
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
# Prohibit in-source tree builds.
|
|
if(" ${CMAKE_SOURCE_DIR}" STREQUAL " ${CMAKE_BINARY_DIR}")
|
|
message(FATAL_ERROR "In-source builds are strictly prohibited.")
|
|
endif()
|
|
|
|
include(cmake/Policies.cmake)
|
|
|
|
project(EuropaTools
|
|
VERSION 1.0.0
|
|
LANGUAGES C CXX
|
|
DESCRIPTION "Tools for working with LEC Europa based games (Star Wars: Starfighter & Star Wars: Jedi Starfighter)"
|
|
)
|
|
|
|
include(FetchContent)
|
|
|
|
# declare dependencies
|
|
FetchContent_Declare(indicators
|
|
GIT_REPOSITORY https://github.com/p-ranav/indicators.git
|
|
)
|
|
|
|
FetchContent_Declare(argparse
|
|
GIT_REPOSITORY https://github.com/p-ranav/argparse.git
|
|
)
|
|
|
|
# Future (maybe when libpixel has provisioning for installs :v)
|
|
#FetchContent_Declare(libpixel
|
|
# GIT_REPOSITORY https://github.com/modeco80/libpixel.git
|
|
# )
|
|
|
|
FetchContent_MakeAvailable(indicators argparse)
|
|
|
|
add_subdirectory(third_party/libpixel)
|
|
|
|
add_subdirectory(src/libeuropa)
|
|
add_subdirectory(src/tools)
|