Přemysl Janouch
2f5f87119d
* Add Win32Depends.cmake, which retrieves all dependencies from the Internet. Other ways of building the application on Win32 are not supported. * Install the application correctly on Win32. * Make FindGTK2.cmake search for GIO. * Make the project a C-only project, so g++ is not needed. * Remove obsolete checks for strtok(). * Set WIN32_EXECUTABLE on the application. |
||
---|---|---|
cmake | ||
liblogdiag | ||
po | ||
share | ||
src | ||
CMakeLists.txt | ||
config.h.in | ||
LICENSE | ||
README.md | ||
Win32Depends.cmake |
logdiag
logdiag is a schematic editor written in GTK+. It focuses on simplicity,
usability and openness.
Requirements
Runtime dependencies:
- GTK+ >= 2.12
- json-glib >= 0.10
- lua = 5.1
Build dependencies:
- CMake >= 2.6
Installation on Unix-like systems
First check that you have all the required dependencies installed.
Reserve a directory for an out-of-source build:
$ mkdir build
$ cd build
Let CMake prepare the build. You may change the directory where you want
the application to be installed. The default is /usr/local.
$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
Now you have two basic choices of installing the application:
-
Using make install: # make install
-
Using cpack; you have to choose a package format understood by your
system package manager. CMake offers DEB and RPM.After cpack finishes making the package, install this file.
$ cpack -G DEB # dpkg -i logdiag-0.0-Linux-x86_64.deb