mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
a02410c282
* splash screen when app is loading * doRaceRequest * prepare to add fkparse feature * player mark operation * dont call lua in regular room * dont call lua in lobby * clean up * idle_room in Cpp's class Server * fix many small bugs * Security enhancement (#27) * use RSA encryption when sending password * update fkp's url so other can clone it * add salt to password * save password * fix default config bug * fix room reuse bug * disable empty usr name * how to compile (#28) * add some doc * how to compile * update readme * Actions (#29) * judge(not tested) * logic of chat * sendlog at most scenario * adjust ui, add shortcuts * ui, z axis of cardArea * create server cli, improve logging * basic shell using * use gnu readline instead * use static QRegularExp * fix android build * fix automoc problem * MD5 check * md5 check bugfix * cardEffectEvent (#30) * cardEffectEvent * add TODOs * thinking Co-authored-by: Ho-spair <62695577+Ho-spair@users.noreply.github.com>
46 lines
1.0 KiB
CMake
46 lines
1.0 KiB
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(FreeKill VERSION 0.0.1)
|
|
|
|
include_directories(fkparse/src)
|
|
add_subdirectory(fkparse)
|
|
|
|
find_package(Qt6 REQUIRED COMPONENTS
|
|
Gui
|
|
Qml
|
|
Widgets
|
|
Network
|
|
Multimedia
|
|
)
|
|
|
|
find_package(OpenSSL)
|
|
find_package(Lua)
|
|
find_package(SQLite3)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
|
set(REQUIRED_QT_VERSION "6.3")
|
|
|
|
include_directories(include/lua)
|
|
include_directories(include/sqlite3)
|
|
include_directories(src)
|
|
include_directories(src/client)
|
|
include_directories(src/core)
|
|
include_directories(src/network)
|
|
include_directories(src/server)
|
|
include_directories(src/ui)
|
|
|
|
file(GLOB SWIG_FILES "${PROJECT_SOURCE_DIR}/src/swig/*.i")
|
|
add_custom_command(
|
|
OUTPUT ${PROJECT_SOURCE_DIR}/src/swig/freekill-wrap.cxx
|
|
DEPENDS ${SWIG_FILES}
|
|
COMMENT "Generating freekill-wrap.cxx"
|
|
COMMAND swig -c++ -lua -Wall -o
|
|
${PROJECT_SOURCE_DIR}/src/swig/freekill-wrap.cxx
|
|
${PROJECT_SOURCE_DIR}/src/swig/freekill.i
|
|
)
|
|
|
|
qt_add_executable(FreeKill)
|
|
add_subdirectory(src)
|