Convert structure to open-std Document P1204R0: Canonical Project Structure

Took 2 hours 50 minutes
This commit is contained in:
Lukas Brübach 2025-10-05 23:58:53 +02:00
parent 3e0cf97dff
commit 3fb9689bbb
585 changed files with 1548 additions and 1584 deletions

View file

@ -10,7 +10,6 @@ set(TEST_QT_MODULES ${COCKATRICE_QT_VERSION_NAME}::Concurrent ${COCKATRICE_QT_VE
)
target_link_libraries(
loading_from_clipboard_test cockatrice_common cockatrice_deck_list Threads::Threads ${GTEST_BOTH_LIBRARIES}
${TEST_QT_MODULES}
loading_from_clipboard_test libcockatrice_deck_list Threads::Threads ${GTEST_BOTH_LIBRARIES} ${TEST_QT_MODULES}
)
add_test(NAME loading_from_clipboard_test COMMAND loading_from_clipboard_test)

View file

@ -1,8 +1,7 @@
#include "clipboard_testing.h"
#include "deck_list/deck_list_card_node.h"
#include <QTextStream>
#include <libcockatrice/deck_list/deck_list_card_node.h>
void testEmpty(const QString &clipboard)
{

View file

@ -1,9 +1,8 @@
#ifndef CLIPBOARD_TESTING_H
#define CLIPBOARD_TESTING_H
#include "deck_list/deck_list.h"
#include "gtest/gtest.h"
#include <libcockatrice/deck_list/deck_list.h>
// using std types because qt types aren't understood by gtest (without this you'll get less nice errors)
using CardRows = QVector<std::pair<std::string, int>>;