Skip to content

Instantly share code, notes, and snippets.

@jiverson002
Last active October 10, 2020 03:00
Show Gist options
  • Save jiverson002/210c05430d28a95909a607dc5d675dc0 to your computer and use it in GitHub Desktop.
Save jiverson002/210c05430d28a95909a607dc5d675dc0 to your computer and use it in GitHub Desktop.
An example project using GKlib via Conan.
# Prerequisites
*.d
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
# Build files
build
# Conan stuff
env
cmake_minimum_required(VERSION 3.0)
project(GKlib-conan C)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
find_package(GKlib CONFIG REQUIRED)
add_executable(example example.c)
target_link_libraries(example GKlib::GKlib)
[requires]
GKlib/0.0.1@jiverson002/stable
[generators]
cmake
#include "GKlib.h"
int main() { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment