Remove precompiled header, as it only caused issues.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2021-10-30 12:54:57 +02:00
parent 5a352357fb
commit 999dc675fa
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
5 changed files with 6 additions and 23 deletions

View File

@ -38,7 +38,6 @@ endif ()
# Grab all cpp and hpp files in our source directories.
file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp" "CInterface/*.cpp" "CInterface/*.hpp")
add_library(Arbutils ${LIBTYPE} ${SRC_FILES})
target_precompile_headers(Arbutils PUBLIC src/Precompiled.hxx)
# If we are building for Windows we need to set some specific variables.
if (WINDOWS)

View File

@ -1,5 +1,6 @@
#ifndef ARBUTILS_DICTIONARY_HPP
#define ARBUTILS_DICTIONARY_HPP
#include <optional>
#include "../Ensure.hpp"
namespace ArbUt {

View File

@ -1,22 +0,0 @@
#ifndef ARBUTILS_PRECOMPILED_HXX
#define ARBUTILS_PRECOMPILED_HXX
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <exception>
#include <memory>
#include <optional>
#include <sstream>
#include <stdexcept>
#include <string>
#include <string_view>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <variant>
#include <vector>
#endif // ARBUTILS_PRECOMPILED_HXX

View File

@ -1,5 +1,8 @@
#ifndef ARBUTILS_BASICSTRINGVIEW_HPP
#define ARBUTILS_BASICSTRINGVIEW_HPP
#include <cstdint>
#include <sstream>
#include <string_view>
/// \defgroup Strings Strings
/// \brief Group of non-editable strings with faster hashing.

View File

@ -1,6 +1,8 @@
#ifndef ARBUTILS_STRINGVIEW_HPP
#define ARBUTILS_STRINGVIEW_HPP
#include <cstring>
#include <memory>
#include "BasicStringView.hpp"
#if WINDOWS