Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DCMAKE_VERBOSE_MAKEFILE=ON
-S ${{ github.workspace }}/portable
-S ${{ github.workspace }}/src

- name: Build
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
Expand Down
35 changes: 0 additions & 35 deletions portable/BUILDING.txt

This file was deleted.

8 changes: 7 additions & 1 deletion windows/Acknowledgement.txt → src/Acknowledgement.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

https://github.com/Parchive/par3cmdline

Copyright (C) 2022 Yutaka Sawada.
Copyright (C) 2022-2025 Yutaka Sawada.

par3cmdline comes with ABSOLUTELY NO WARRANTY.

Expand All @@ -13,6 +13,12 @@ by the Free Software Foundation; either version 2.1 of the License,
or (at your option) any later version.


[ Additional authors ]

File format specification by Michael D. Nahas.

Linux platform support by Maks Verver.


[ BLAKE3 cryptographic hash function ]

Expand Down
File renamed without changes.
44 changes: 44 additions & 0 deletions src/Building.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
BUILDING ON WINDOWS
===================

With Microsoft Visual Studio: use the solution file (par3cmdline.sln).

Alternatively, use CMake as described below.


BUILDING ON LINUX
=================

To build using CMake:

% cmake -D CMAKE_BUILD_TYPE=Release -B build
% cmake --build build # or: make -C build

CMAKE_BUILD_TYPE is one of: Debug, Release, RelWithDebInfo, MinSizeRel.

To install:

% cmake --install build # installs under /usr/local by default


To debug the build itself:

% make -C build VERBOSE=1

...will show individual commands being executed. Alternatively:

% cmake -D CMAKE_VERBOSE_MAKEFILE=ON ...

...will enable verbose builds by default.


To build with Ninja instead of Make, which can be faster:

% cmake -D CMAKE_BUILD_TYPE=Release -G Ninja -B build-ninja
% cmake --build build-ninja # or: ninja -C build-ninja


To cross-compile from Linux to Windows, creating a Windows executable:

% cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_TOOLCHAIN_FILE=mingw-w64-x86_64.cmake -B build-windows
% cmake --build build-windows
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading