Skip to content

Commit

Permalink
Merge pull request #15 from Kicer86/update_github_api
Browse files Browse the repository at this point in the history
Cleanups and updates
  • Loading branch information
Kicer86 authored Nov 21, 2023
2 parents 31d038f + 1cb1f66 commit 06fb450
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

name: Generate Doxygen
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Generate Docs
uses: mattnotmitt/[email protected]

- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

project(GitHubAPI)
cmake_minimum_required(VERSION 3.16)
project(GitHubAPI)

if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

find_package(jsoncpp CONFIG)

Expand All @@ -16,7 +20,7 @@ include(GenerateExportHeader)

option(GitHubAPI_QtBackend "Qt backend for GitHubApi" OFF)
option(GitHubAPI_CurlBackend "libcurl backend for GitHubApi" OFF)
option(GitHubAPI_Tests "Enable GitHubApi tests. Forces GitHubAPI_QtBackend and GitHubAPI_CurlBackend to be ON" OFF)
option(GitHubAPI_Tests "Enable GitHubApi tests. Forces both GitHubAPI_QtBackend and GitHubAPI_CurlBackend to be ON" OFF)

if(GitHubAPI_Tests)
set(GitHubAPI_QtBackend ON)
Expand Down

0 comments on commit 06fb450

Please sign in to comment.