mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
20 lines
638 B
CMake
20 lines
638 B
CMake
set(APP_ID "pizza.isle.Isle")
|
|
set(APP_NAME "Isle Decomp")
|
|
set(APP_SUMMARY "Portable version of the LEGO Island Decompilation Project")
|
|
set(APP_SPDX "LGPL-3.0-or-later")
|
|
set(QT_VERSION 6.8)
|
|
|
|
string(TIMESTAMP BUILD_DATE UTC)
|
|
|
|
# Following block sourced from https://jonathanhamberg.com/post/cmake-embedding-git-hash/
|
|
# Get the latest abbreviated commit hash of the working branch
|
|
execute_process(
|
|
COMMAND git log -1 --format=%h
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
|
|
OUTPUT_VARIABLE GIT_HASH
|
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
)
|
|
|
|
# TODO: Generate minfied SVG icon and PNG variants
|
|
|
|
add_subdirectory(linux EXCLUDE_FROM_ALL) |