Move the existing launcher into legacy/
git mv of everything (web/ android/ qt/ wasi/ android-wasm/ tests/ ci/ pixi.toml README) so history follows; legacy/ keeps its own .gitignore and a new root .gitignore starts for the MoonBit project. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7d2bf5996f
commit
66e8e90da1
88 files changed
+138
-10
No files matched your search
@@ -0,0 +1,27 @@
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
project(launcher_wasi C CXX)
|
||||
|
||||
include(${QT2WASM_ROOT}/cmake/Qt2Wasm.cmake)
|
||||
|
||||
set(FONTS_QRC_CPP "${CMAKE_CURRENT_BINARY_DIR}/qrc_fonts.cpp")
|
||||
add_custom_command(
|
||||
OUTPUT "${FONTS_QRC_CPP}"
|
||||
COMMAND "${QT2WASM_QT_PREFIX}/../host/libexec/rcc"
|
||||
--name fonts
|
||||
-o "${FONTS_QRC_CPP}"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/fonts.qrc"
|
||||
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/fonts.qrc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/fonts/DejaVuSans.ttf"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/fonts/DejaVuSans-Bold.ttf"
|
||||
COMMENT "Compiling fonts.qrc"
|
||||
)
|
||||
|
||||
qt2wasm_add_component(launcher GUI
|
||||
SOURCES
|
||||
src/main.cpp
|
||||
src/launcher_window.cpp
|
||||
src/layout.cpp
|
||||
"${FONTS_QRC_CPP}"
|
||||
INCLUDE_DIRS
|
||||
src
|
||||
)
|
||||
Reference in new issue
Block a user