Merge pull request #104 from DanielSWolf/feature/#103-minor-syntax-fixes

Minor syntax fixes
This commit is contained in:
Daniel Wolf 2021-10-15 18:33:39 +02:00 committed by GitHub
commit 5cface0af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.2)
include(appInfo.cmake) include(appInfo.cmake)
project(${appName})
# Build and install main executable # Build and install main executable
add_subdirectory(rhubarb) add_subdirectory(rhubarb)

View File

@ -5,8 +5,6 @@ include("../appInfo.cmake")
# Support legacy OS X versions # Support legacy OS X versions
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING "Minimum OS X deployment version") set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING "Minimum OS X deployment version")
project(${appName})
# Enable C++17 # Enable C++17
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)

View File

@ -1,10 +1,12 @@
#include "ProgressBar.h" #include "ProgressBar.h"
#include <algorithm> #include <algorithm>
#include <future> #include <future>
#include <chrono> #include <chrono>
#include <format.h> #include <format.h>
#include <boost/algorithm/clamp.hpp> #include <boost/algorithm/clamp.hpp>
#include <cmath> #include <cmath>
#include <thread>
using std::string; using std::string;

View File

@ -1,3 +1,5 @@
#include <exception>
#include "exceptions.h" #include "exceptions.h"
using std::string; using std::string;