♻️ 使用module重构所有代码
This commit is contained in:
@@ -16,22 +16,7 @@ fmt/*:header_only=True
|
||||
[layout]
|
||||
cmake_layout
|
||||
|
||||
# Quick build (only test_ast):
|
||||
# CONAN_HOME=/tmp/conan-home conan install . \
|
||||
# -pr:h conan/profiles/linux-x86_64-gcc-15 \
|
||||
# -pr:b conan/profiles/linux-x86_64-gcc-15 \
|
||||
# -of build/arch-server --build=missing
|
||||
# cmake -S . -B build/arch-server \
|
||||
# -DCMAKE_TOOLCHAIN_FILE=$PWD/build/arch-server/Release/generators/conan_toolchain.cmake \
|
||||
# -DBUILD_TESTS=ON
|
||||
# cmake --build build/arch-server --target test_ast
|
||||
|
||||
# Cross build to Windows (MinGW from Linux):
|
||||
# CONAN_HOME=/tmp/conan-home conan install . \
|
||||
# -pr:h conan/profiles/windows-x86_64-gcc-15-cross \
|
||||
# -pr:b conan/profiles/linux-x86_64-gcc-15 \
|
||||
# -of build/win-cross --build=missing
|
||||
# cmake -S . -B build/win-cross \
|
||||
# -DCMAKE_TOOLCHAIN_FILE=$PWD/build/win-cross/Release/generators/conan_toolchain.cmake \
|
||||
# -DBUILD_TESTS=ON
|
||||
# cmake --build build/win-cross --target test_ast
|
||||
# 使用 Clang+libc++ 构建:
|
||||
# CONAN_HOME=/tmp/conan-home conan install . -pr:h=conan/profiles/linux-x86_64-clang -pr:b=conan/profiles/linux-x86_64-clang -of build/clang --build=missing
|
||||
# cmake -S . -B build/clang -DCMAKE_TOOLCHAIN_FILE=$PWD/build/clang/Release/generators/conan_toolchain.cmake -DBUILD_TESTS=ON
|
||||
# cmake --build build/clang --target tsl-server
|
||||
|
||||
Reference in New Issue
Block a user