4
1
mirror of https://github.com/QuasarApp/Snake.git synced 2025-05-13 18:09:43 +00:00

disable wasn32 vuilds

This commit is contained in:
Andrei Yankovich 2021-05-27 16:13:51 +03:00
parent 4bcf687bad
commit 8a82eb37b1
3 changed files with 8 additions and 9 deletions
CMakeLists.txt
src/ClientLib
SnakeProject
languages

@ -25,6 +25,13 @@ find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Test REQUIRED)
include(submodules/QuasarAppLib/CMake/QuasarApp.cmake)
if (DEFINED TARGET_PLATFORM_TOOLCHAIN)
if (${TARGET_PLATFORM_TOOLCHAIN} STREQUAL "wasm32")
initAll()
return()
endif()
endif()
if (NOT DEFINED SNAKEPROJECT_TESTS)
set(SNAKEPROJECT_TESTS ON)

@ -8,7 +8,7 @@ inline void initSnakeProjectResources() { Q_INIT_RESOURCE(SnakeProject); }
class QQmlApplicationEngine;
class ClientApp
class SNAKEPROJECT_EXPORT ClientApp
{
private:
Controller contr;

@ -155,14 +155,6 @@
</context>
<context>
<name>SettingsView</name>
<message>
<source>Game Host</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Game Port</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Use Them</source>
<translation type="unfinished"></translation>