drag-and-drop #14
|
@ -8,7 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
Build-Qtk:
|
Build-Qtk:
|
||||||
env:
|
env:
|
||||||
CONFIG: -DQTK_UPDATE_SUBMODULES=ON -DQTK_DEBUG=OFF -DQTK_ENABLE_CCACHE=OFF -DQTK_BUILD_GUI=ON -DQTK_INSTALL_LIBRARY=ON -DQTK_INSTALL_PLUGINS=OFF
|
CONFIG: -DQTK_SUBMODULES=ON -DQTK_DEBUG=OFF -DQTK_CCACHE=OFF -DQTK_GUI=ON -DQTK_LIBRARY=ON -DQTK_PLUGINS=OFF
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -64,13 +64,13 @@ jobs:
|
||||||
- name: Build Qtk Application (OSX / Linux)
|
- name: Build Qtk Application (OSX / Linux)
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build build/ --config Release --target qtk_app -- -j $(nproc)
|
run: cmake --build build/ --config Release --target qtk_gui -- -j $(nproc)
|
||||||
|
|
||||||
# Packaging
|
# Packaging
|
||||||
|
|
||||||
- name: Install Qtk Application
|
- name: Install Qtk Application
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --install build/ --config Release --prefix=$(pwd)/install --component qtk
|
run: cmake --install build/ --config Release --prefix=$(pwd)/install --component qtk_gui
|
||||||
|
|
||||||
- name: Package Qtk Application
|
- name: Package Qtk Application
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -144,7 +144,7 @@ jobs:
|
||||||
|
|
||||||
Build-Qtk-Library:
|
Build-Qtk-Library:
|
||||||
env:
|
env:
|
||||||
CONFIG: -DQTK_UPDATE_SUBMODULES=ON -DQTK_DEBUG=OFF -DQTK_ENABLE_CCACHE=OFF -DQTK_BUILD_GUI=OFF -DQTK_INSTALL_LIBRARY=ON -DQTK_INSTALL_PLUGINS=OFF
|
CONFIG: -DQTK_SUBMODULES=ON -DQTK_DEBUG=OFF -DQTK_CCACHE=OFF -DQTK_GUI=OFF -DQTK_LIBRARY=ON -DQTK_PLUGINS=OFF
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -200,7 +200,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install Qtk Library
|
- name: Install Qtk Library
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --install build/ --config Release --prefix=$(pwd)/install --component libqtk
|
run: cmake --install build/ --config Release --prefix=$(pwd)/install --component qtk_library
|
||||||
|
|
||||||
- name: Package Qtk Library
|
- name: Package Qtk Library
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -260,7 +260,7 @@ jobs:
|
||||||
|
|
||||||
Build-Qtk-Plugins:
|
Build-Qtk-Plugins:
|
||||||
env:
|
env:
|
||||||
CONFIG: -DQTK_UPDATE_SUBMODULES=ON -DQTK_DEBUG=OFF -DQTK_ENABLE_CCACHE=OFF -DQTK_BUILD_GUI=OFF -DQTK_INSTALL_LIBRARY=OFF -DQTK_INSTALL_PLUGINS=ON
|
CONFIG: -DQTK_SUBMODULES=ON -DQTK_DEBUG=OFF -DQTK_CCACHE=OFF -DQTK_GUI=OFF -DQTK_LIBRARY=OFF -DQTK_PLUGINS=ON
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -298,7 +298,7 @@ jobs:
|
||||||
- name: Build Qtk Plugins (Windows)
|
- name: Build Qtk Plugins (Windows)
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build build/ --config Release --target qtk_collection
|
run: cmake --build build/ --config Release --target qtk_plugins
|
||||||
|
|
||||||
# OSX / Linux
|
# OSX / Linux
|
||||||
|
|
||||||
|
@ -310,13 +310,13 @@ jobs:
|
||||||
- name: Build Qtk Plugins (OSX / Linux)
|
- name: Build Qtk Plugins (OSX / Linux)
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build build/ --config Release --target qtk_collection -- -j $(nproc)
|
run: cmake --build build/ --config Release --target qtk_plugins -- -j $(nproc)
|
||||||
|
|
||||||
# Packaging
|
# Packaging
|
||||||
|
|
||||||
- name: Install Qtk Plugins
|
- name: Install Qtk Plugins
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --install build/ --config Release --prefix=$(pwd)/install --component collection
|
run: cmake --install build/ --config Release --prefix=$(pwd)/install --component qtk_plugins
|
||||||
|
|
||||||
Build-Qtk-Assimp-Targets:
|
Build-Qtk-Assimp-Targets:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -352,7 +352,7 @@ jobs:
|
||||||
|
|
||||||
- name: Configure Qtk
|
- name: Configure Qtk
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake -B build/ ${{ matrix.cmake }} -DQTK_ENABLE_CCACHE=OFF
|
run: cmake -B build/ ${{ matrix.cmake }} -DQTK_CCACHE=OFF
|
||||||
|
|
||||||
- name: Build Qtk
|
- name: Build Qtk
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef QTK_RESOURCES_H_IN_H
|
||||||
|
#define QTK_RESOURCES_H_IN_H
|
||||||
|
|
||||||
|
#define QTK_EXAMPLE_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@"
|
||||||
|
|
||||||
|
#endif // QTK_RESOURCES_H_IN_H
|
Loading…
Reference in New Issue