Link Win32 manifest into the gsmartcontrol binary.

This commit is contained in:
Alexander Shaduri
2021-03-02 16:44:23 +04:00
parent 1d0762e756
commit 3a8d75fbf0
2 changed files with 12 additions and 2 deletions
+6 -1
View File
@@ -20,7 +20,12 @@ jobs:
run: sudo apt-get install libpcre3-dev libgtkmm-3.0-dev gettext
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build
run: >-
cmake -E make_directory
-DAPP_BUILD_EXAMPLES=ON
-DAPP_BUILD_TESTS=ON
-DAPP_COMPILER_ENABLE_WARNINGS=ON
${{runner.workspace}}/build
- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable
+6 -1
View File
@@ -23,8 +23,13 @@ include(src/build_config/compiler_options.cmake)
set(CMAKE_SKIP_BUILD_RPATH TRUE)
set(CMAKE_SKIP_INSTALL_RPATH TRUE)
# Write the binaries to project root (avoids conflicts with manifests, also it's more convenient this way)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}")
option(APP_BUILD_EXAMPLES "Build examples" ON)
# User-controlled build options
option(APP_BUILD_EXAMPLES "Build examples" OFF)
option(APP_BUILD_TESTS "Build tests" OFF)
configure_file(gsmartcontrol.in.spec gsmartcontrol.spec)