Commit 890bf365 authored by Stefan Pfeifer's avatar Stefan Pfeifer

Changes to rpm build and fixing config.hpp

parent e4a1c7ca
Pipeline #40075507 passed with stage
in 10 minutes and 42 seconds
......@@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD 14)
set(APPLICATION_NAME "bow-simulator")
set(APPLICATION_DISPLAY_NAME "Bow Simulator")
set(APPLICATION_VERSION "0.6")
set(APPLICATION_WEBSITE "bow-simulator.org")
set(APPLICATION_WEBSITE "http://bow-simulator.org")
set(APPLICATION_MAINTAINER "Stefan Pfeifer")
set(APPLICATION_COPYRIGHT "Copyright (C) 2016-2019 Stefan Pfeifer")
set(APPLICATION_LICENSE "GNU General Public License v3.0")
......@@ -83,7 +83,7 @@ find_package(Threads REQUIRED)
# Build application library
configure_file(source/config.hpp ${CMAKE_BINARY_DIR}/config.hpp)
configure_file(source/config.hpp.in ${CMAKE_BINARY_DIR}/config.hpp)
include_directories(source ${PROJECT_BINARY_DIR})
add_library(
......
......@@ -8,9 +8,10 @@ Summary: @APPLICATION_DESCRIPTION_SHORT@
Name: @APPLICATION_NAME@
Version: @APPLICATION_VERSION@
Release: 1
License: @APPLICATION_LICENSE@
License: GPL
SOURCE0 : %{name}-%{version}.tar.gz
URL: http://bow-simulator.org/
URL: @APPLICATION_WEBSITE@
Requires: qt5-qtbase
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
......
#include "Application.hpp"
#include "MainWindow.hpp"
#include "bow/BowModel.hpp"
#include "config.hpp"
#ifdef WIN32
#include <windows.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment