mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Merge 5545be0a17 into b1fe4c85d3
This commit is contained in:
commit
a32b2006cf
8 changed files with 14 additions and 5762 deletions
5
.github/workflows/desktop-build.yml
vendored
5
.github/workflows/desktop-build.yml
vendored
|
|
@ -170,6 +170,11 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Checkout thirdparty submodules
|
||||
run: |
|
||||
git submodule init thirdparty
|
||||
git submodule update thirdparty
|
||||
|
||||
- name: Restore compiler cache (ccache)
|
||||
id: ccache_restore
|
||||
uses: actions/cache/restore@v5
|
||||
|
|
|
|||
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -4,3 +4,6 @@
|
|||
[submodule "doxygen-awesome-css"]
|
||||
path = doc/doxygen/theme
|
||||
url = https://github.com/jothepro/doxygen-awesome-css.git
|
||||
[submodule "cpp-peglib"]
|
||||
path = thirdparty/cpp-peglib
|
||||
url = https://github.com/yhirose/cpp-peglib
|
||||
|
|
|
|||
|
|
@ -232,6 +232,8 @@ if(${Protobuf_VERSION} VERSION_LESS "3.21.0.0" AND NOT EXISTS "${Protobuf_PROTOC
|
|||
message(FATAL_ERROR "No protoc command found!")
|
||||
endif()
|
||||
|
||||
include_directories(SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/cpp-peglib)
|
||||
|
||||
#Find OpenSSL
|
||||
if(WIN32)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <QFileInfo>
|
||||
#include <libcockatrice/card/database/card_database_manager.h>
|
||||
#include <libcockatrice/filters/filter_string.h>
|
||||
#include <libcockatrice/utility/peglib.h>
|
||||
#include <peglib.h>
|
||||
|
||||
static peg::parser search(R"(
|
||||
Start <- QueryPartList
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#include <QRegularExpression>
|
||||
#include <QString>
|
||||
#include <functional>
|
||||
#include <libcockatrice/utility/peglib.h>
|
||||
#include <peglib.h>
|
||||
|
||||
static peg::parser search(R"(
|
||||
Start <- QueryPartList
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
#include "expression.h"
|
||||
|
||||
#include "peglib.h"
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QString>
|
||||
#include <QtMath>
|
||||
#include <functional>
|
||||
#include <peglib.h>
|
||||
|
||||
peg::parser math(R"(
|
||||
EXPRESSION <- P0
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
1
thirdparty/cpp-peglib
vendored
Submodule
1
thirdparty/cpp-peglib
vendored
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit dcabc63cf4b966eb6f33abd571ae4cda6bf707f0
|
||||
Loading…
Add table
Add a link
Reference in a new issue