diff --git a/chess_color.cpp b/chess_color.cpp index ac5f380..740270f 100644 --- a/chess_color.cpp +++ b/chess_color.cpp @@ -4,8 +4,7 @@ #include #include - -#include "../magic_enum/include/magic_enum.hpp" // https://github.com/Neargye/magic_enum +#include "../magic_enum/include/magic_enum/magic_enum.hpp" // https://github.com/Neargye/magic_enum std::vector get_all_chess_colors() noexcept { diff --git a/controls_view_item.cpp b/controls_view_item.cpp index c58dbfa..14f8b87 100644 --- a/controls_view_item.cpp +++ b/controls_view_item.cpp @@ -3,7 +3,7 @@ #include #include -#include "../magic_enum/include/magic_enum.hpp" +#include // https://github.com/Neargye/magic_enum std::vector get_all_controls_view_items() noexcept { diff --git a/game.pro b/game.pro index eadfcc1..8ecaeb7 100644 --- a/game.pro +++ b/game.pro @@ -44,5 +44,10 @@ QT += core gui widgets LIBS += -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio -#INCLUDEPATH += ../magic_enum - +# magic_enum, from https://github.com/Neargye/magic_enum +# +# Must allow for: +# +# include +# +INCLUDEPATH += ../magic_enum/include diff --git a/game_speed.cpp b/game_speed.cpp index c482b6b..c79a654 100644 --- a/game_speed.cpp +++ b/game_speed.cpp @@ -5,7 +5,7 @@ #include #include -#include "../magic_enum/include/magic_enum.hpp" // https://github.com/Neargye/magic_enum +#include // https://github.com/Neargye/magic_enum std::vector get_all_game_speeds() noexcept { diff --git a/lobby_view_item.cpp b/lobby_view_item.cpp index 7e52548..f514163 100644 --- a/lobby_view_item.cpp +++ b/lobby_view_item.cpp @@ -3,7 +3,7 @@ #include #include -#include "../magic_enum/include/magic_enum.hpp" +#include // https://github.com/Neargye/magic_enum std::vector get_all_lobby_view_items() noexcept { diff --git a/menu_view_item.cpp b/menu_view_item.cpp index 046010e..4176e6b 100644 --- a/menu_view_item.cpp +++ b/menu_view_item.cpp @@ -3,7 +3,7 @@ #include #include -#include "../magic_enum/include/magic_enum.hpp" +#include // https://github.com/Neargye/magic_enum std::vector get_all_menu_view_items() noexcept { diff --git a/message_type.cpp b/message_type.cpp index 6b12f1f..d019b0c 100644 --- a/message_type.cpp +++ b/message_type.cpp @@ -1,6 +1,6 @@ #include "message_type.h" -#include "../magic_enum/include/magic_enum.hpp" +#include // https://github.com/Neargye/magic_enum #include #include diff --git a/options_view_item.cpp b/options_view_item.cpp index 7e555f8..9cec4af 100644 --- a/options_view_item.cpp +++ b/options_view_item.cpp @@ -1,6 +1,6 @@ #include "options_view_item.h" -#include "../magic_enum/include/magic_enum.hpp" +#include // https://github.com/Neargye/magic_enum #include #include diff --git a/piece_action_type.cpp b/piece_action_type.cpp index 14db612..cda4980 100644 --- a/piece_action_type.cpp +++ b/piece_action_type.cpp @@ -4,7 +4,7 @@ #include #include -#include "../magic_enum/include/magic_enum.hpp" +#include // https://github.com/Neargye/magic_enum std::vector get_all_piece_action_types() noexcept { diff --git a/race.cpp b/race.cpp index fc5f742..dd3542c 100644 --- a/race.cpp +++ b/race.cpp @@ -5,7 +5,7 @@ #include #include -#include "../magic_enum/include/magic_enum.hpp" // https://github.com/Neargye/magic_enum +#include // https://github.com/Neargye/magic_enum std::vector get_all_races() noexcept { diff --git a/starting_position_type.cpp b/starting_position_type.cpp index 3c991d4..bcb32ff 100644 --- a/starting_position_type.cpp +++ b/starting_position_type.cpp @@ -5,7 +5,7 @@ #include #include -#include "../magic_enum/include/magic_enum.hpp" +#include // https://github.com/Neargye/magic_enum std::vector get_all_starting_position_types() noexcept { diff --git a/user_input_type.cpp b/user_input_type.cpp index 164b551..52c7ba5 100644 --- a/user_input_type.cpp +++ b/user_input_type.cpp @@ -1,6 +1,6 @@ #include "user_input_type.h" -#include "../magic_enum/include/magic_enum.hpp" +#include // https://github.com/Neargye/magic_enum user_input_type create_random_user_input_type( std::default_random_engine& rng_engine