Compare commits
2 Commits
bf137bc788
...
5a23df110c
Author | SHA1 | Date |
---|---|---|
Shaun Reed | 5a23df110c | |
Shaun Reed | 6d51aef9cf |
|
@ -70,6 +70,20 @@ jobs:
|
|||
shell: bash
|
||||
run: cmake --build build/ --target package --config Release
|
||||
|
||||
- name: Package Qtk Library (DEB)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
shell: bash
|
||||
run: cpack -C Release -G DEB
|
||||
|
||||
- name: Upload package artifacts (DEB)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: qtk-${{ matrix.os }}-debian
|
||||
path: |
|
||||
build/packages/*.deb
|
||||
!build/packages/_CPack_Packages/*
|
||||
|
||||
- name: Upload Qtk install directory
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
@ -155,6 +169,20 @@ jobs:
|
|||
shell: bash
|
||||
run: cmake --build build/ --target package --config Release
|
||||
|
||||
- name: Package Qtk Library (DEB)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
shell: bash
|
||||
run: cpack -C Release -G DEB
|
||||
|
||||
- name: Upload package artifacts (DEB)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: libqtk-${{ matrix.os }}-debian
|
||||
path: |
|
||||
build/packages/*.deb
|
||||
!build/packages/_CPack_Packages/*
|
||||
|
||||
- name: Upload libqtk install
|
||||
uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
|
@ -169,6 +197,7 @@ jobs:
|
|||
name: libqtk-packages-${{ matrix.os }}
|
||||
path: |
|
||||
build/packages/
|
||||
!build/packages/*.deb
|
||||
!build/packages/_CPack_Packages/*
|
||||
|
||||
Build-Qtk-Plugins:
|
||||
|
|
|
@ -23,7 +23,7 @@ if(WIN32)
|
|||
set(CMAKE_COMPILE_WARNING_AS_ERROR OFF)
|
||||
add_compile_options(/wd4131 /wd4127)
|
||||
endif()
|
||||
#add_compile_options(-fPIC)
|
||||
add_compile_options(-fPIC)
|
||||
|
||||
################################################################################
|
||||
# Project
|
||||
|
|
|
@ -37,7 +37,7 @@ install(
|
|||
)
|
||||
|
||||
# Qtk Application
|
||||
if (QTK_BUILD_GUI OR QTK_INSTALL_PLUGINS)
|
||||
if(QTK_BUILD_GUI OR QTK_INSTALL_PLUGINS)
|
||||
add_subdirectory(app)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ target_link_libraries(qtk_plugin_library PUBLIC Qt6::UiPlugin qtk_library)
|
|||
# Qtk Widget Collection Plugin
|
||||
################################################################################
|
||||
# Create a Qt Designer plugin for a collection of widgets from our library.
|
||||
qt_add_plugin(qtk_collection SHARED EXCLUDE_FROM_ALL)
|
||||
qt_add_plugin(qtk_collection SHARED)
|
||||
target_sources(
|
||||
qtk_collection PRIVATE
|
||||
widgetplugincollection.cpp widgetplugincollection.h
|
||||
|
|
Loading…
Reference in New Issue