mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-25 21:35:33 +00:00
Link Win32 manifest into the gsmartcontrol binary.
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user