commit
2fae4ab89e
7 changed files with 48 additions and 0 deletions
@ -0,0 +1,5 @@
|
||||
IndentWidth: 2 |
||||
AccessModifierOffset: -2 |
||||
UseTab: Never |
||||
ColumnLimit: 0 |
||||
NamespaceIndentation: All |
||||
@ -0,0 +1,3 @@
|
||||
[submodule "lib/GraphLib"] |
||||
path = lib/GraphLib |
||||
url = https://github.com/guetzli32/GraphLib |
||||
@ -0,0 +1,13 @@
|
||||
cmake_minimum_required(VERSION 3.0) |
||||
|
||||
project(cpp-main) |
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wall -Wextra") |
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/lib/GraphLib/cmake_modules") |
||||
|
||||
find_package(MathGL REQUIRED) |
||||
|
||||
add_subdirectory("./lib/GraphLib") |
||||
|
||||
add_executable(cpp-main main.cpp ${MATHGL_LIBRARIES}) |
||||
@ -0,0 +1,20 @@
|
||||
# C++ skeleton with graphlib and fltk |
||||
|
||||
## Usage |
||||
```sh |
||||
git clone https://voss.sarvern.no/zalox/cpp-skeleton-graphlib-fltk <project-name> |
||||
cd <project-name> |
||||
# with juci you can stop on this step and open the folder <project-name> is saved and press Ctrl+Enter |
||||
mkdir build |
||||
cd build |
||||
cmake .. |
||||
make |
||||
``` |
||||
|
||||
## Dependencies |
||||
|
||||
Arch: |
||||
```sh |
||||
# use yay, pacaur or yaourt |
||||
yay -S mathgl blas |
||||
``` |
||||
Loading…
Reference in new issue