2 Commits

Author SHA1 Message Date
62e316b022 Fix bug with classes, use slim exclusively, add package private data and change rehaul cmake configs
All checks were successful
Build and Deploy on Tag / build-arch (push) Successful in 1m22s
Build and Deploy on Tag / update-tap (push) Successful in 4m16s
2026-05-29 21:13:21 -05:00
17e4ca9410 Fix bug with classes, use slim exclusively, add package private data and change rehaul cmake configs
Some checks failed
Build and Deploy on Tag / build-arch (push) Failing after 16s
Build and Deploy on Tag / update-tap (push) Has been cancelled
2026-05-29 21:04:56 -05:00
2 changed files with 4 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ include(cmake/version.cmake)
project(TessesCrossLang VERSION ${CROSSLANG_MAJOR_VERSION}.${CROSSLANG_MINOR_VERSION}.${CROSSLANG_PATCH_VERSION})
set(CMAKE_CXX_STANDARD 17)
include(CMakePackageConfigHelpers)
include(GNUInstallDirs)
include(CheckLibraryExists)
include(FetchContent)

View File

@@ -30,14 +30,14 @@ prepare() {
build() {
cd "$srcdir/${pkgname}"
mkdir build
cd build
if [[ -z "$CMAKE_TOOLCHAIN" ]]; then
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr -DCROSSLANG_FETCHCONTENT=OFF -DCMAKE_BUILD_TYPE=Release
cmake -S .. -B . -DCMAKE_INSTALL_PREFIX=/usr -DCROSSLANG_FETCHCONTENT=OFF -DCMAKE_BUILD_TYPE=Release
else
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr -DCROSSLANG_FETCHCONTENT=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$CMAKE_TOOLCHAIN"
cmake -S .. -B . -DCMAKE_INSTALL_PREFIX=/usr -DCROSSLANG_FETCHCONTENT=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$CMAKE_TOOLCHAIN"
fi
cd build
make -j`nproc`
}