Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
- move sourcecode from gitlab
- make request-interface private again
- adapt github actions to requirements
- adapt github actions to upload to gitlab repo
- start working on documentation
- apply GPLv3 License
- update doxygen-awesome-css
  • Loading branch information
jothepro committed Nov 17, 2021
1 parent 317d6ce commit efe7ade
Show file tree
Hide file tree
Showing 95 changed files with 7,254 additions and 246 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/configureBuildTestCreateAndUpload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
release:
types: [released, prereleased]
types: [released]

name: Configure, Build, Test, Create and Upload library

Expand All @@ -23,21 +25,14 @@ jobs:
- name: Install Conan
uses: turtlebrowser/get-conan@main
- name: Add artifactory remote
run: conan remote add jothepro-conan-public https://jothepro.jfrog.io/artifactory/api/conan/conan-public
run: conan remote add gitlab https://gitlab.com/api/v4/projects/15425736/packages/conan
- name: Install dependencies
run: conan install .
- name: configure, build and test project
if: github.event_name != 'release'
run: conan build .
- name: configure, build, test and create project for beta channel
if: github.event.release.prerelease
run: conan create . jothepro/beta
- name: configure, build, test and create project for stable channel
if: ${{ !github.event.release.prerelease }}
run: conan create . jothepro/stable
run: conan install -if build --build missing .
- name: configure, build, test and create project
run: conan create -tbf build . jothepro/release
- name: upload to artifactory
if: github.event_name == 'release'
run: conan upload mylibrary -r=jothepro-conan-public --all --confirm
run: conan upload libcloudsync -r=gitlab --all --confirm
env:
CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_LOGIN_USERNAME }}
CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD }}
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include(${CMAKE_BINARY_DIR}/conan_paths.cmake OPTIONAL)

get_version(PROJECT_VERSION)

project(MyLibrary
project(CloudSync
LANGUAGES CXX
VERSION ${PROJECT_VERSION})

Expand All @@ -22,7 +22,11 @@ if(DOXYGEN_FOUND)
)
endif(DOXYGEN_FOUND)

add_subdirectory(src)
add_subdirectory(lib)

if(EXISTS example)
add_subdirectory(example)
endif()

include(CTest)
if(BUILD_TESTING)
Expand Down
12 changes: 6 additions & 6 deletions Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.

PROJECT_NAME = "C++ Library Template"
PROJECT_NAME = "libCloudSync"

# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
Expand All @@ -44,7 +44,7 @@ PROJECT_NUMBER =
# for a project that appears at the top of each page and should give viewer a
# quick idea about the purpose of the project. Keep the description short.

PROJECT_BRIEF = "Utilizing CMake and Conan"
PROJECT_BRIEF = "Access Cloud Storage from C++"

# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
# in the documentation. The maximum height of the logo should not exceed 55
Expand Down Expand Up @@ -864,7 +864,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.

INPUT = src/include \
INPUT = lib/include \
README.md \
docs

Expand Down Expand Up @@ -2365,7 +2365,7 @@ HIDE_UNDOC_RELATIONS = YES
# set to NO
# The default value is: NO.

HAVE_DOT = NO
HAVE_DOT = YES

# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
# to run in parallel. When set to 0 doxygen will base this on the number of
Expand Down Expand Up @@ -2547,7 +2547,7 @@ DIRECTORY_GRAPH = YES
# The default value is: png.
# This tag requires that the tag HAVE_DOT is set to YES.

DOT_IMAGE_FORMAT = png
DOT_IMAGE_FORMAT = svg

# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
# enable generation of interactive SVG images that allow zooming and panning.
Expand Down Expand Up @@ -2638,7 +2638,7 @@ MAX_DOT_GRAPH_DEPTH = 0
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.

DOT_TRANSPARENT = NO
DOT_TRANSPARENT = YES

# Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
# files in one run (i.e. multiple -o and -T options on the command line). This
Expand Down
Loading

0 comments on commit efe7ade

Please sign in to comment.