Update README

This commit is contained in:
Přemysl Eric Janouch 2021-10-23 20:11:10 +02:00
parent 5a4cffd35e
commit 5fc35517cb
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 8 additions and 13 deletions

View File

@ -3,7 +3,8 @@ logdiag
'logdiag' is a simple multiplatform schematic editor written in GTK+. 'logdiag' is a simple multiplatform schematic editor written in GTK+.
This software has never really been finished, and is no longer being worked on. This software has never really been finished, and is no longer being worked on,
although I strive to keep it building on Windows XP and elsewhere.
image::docs/user-guide/logdiag-en.png[align="center"] image::docs/user-guide/logdiag-en.png[align="center"]
@ -54,27 +55,21 @@ Build from source on Windows
_Note that with the current method we're stuck with GTK+ 3.8.2._ _Note that with the current method we're stuck with GTK+ 3.8.2._
First install CMake and MinGW. Add both to your system path. If you want First install CMake and MinGW. Add both to your system path. If you want
to build an installation package, also install NSIS. If you want to build within to build an installation package, also install NSIS. If you want to build
a path containing spaces, fix your FindPkgConfig.cmake to say: within a path containing spaces, fix your FindPkgConfig.cmake to say (#22396):
separate_arguments(_pkgconfig_invoke_result UNIX_COMMAND "${_pkgconfig_invoke_result}") separate_arguments(_pkgconfig_invoke_result UNIX_COMMAND "${_pkgconfig_invoke_result}")
Run the following command in the directory with source files to automatically Run the following command in the directory with source files to automatically
fetch and setup all dependencies (contact me if the script becomes obsolete, fetch and set up all dependencies (note that Windows XP is no longer able to
it's easy to fix but I usually update it only just a short while before download from HTTPS sources):
releasing a new version in order to resolve compatibility issues):
> cmake -P Win32Depends.cmake > cmake -P Win32Depends.cmake
Note that Windows XP is no longer able to reliably download from HTTPS sources. Reserve a directory for an out-of-source build and let CMake prepare the build:
Reserve a directory for an out-of-source build:
> mkdir build > mkdir build
> cd build > cd build
Let CMake prepare the build:
> cmake .. -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release > cmake .. -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release
Now you can generate a package with CPack. You may choose between: Now you can generate a package with CPack. You may choose between: