-
Notifications
You must be signed in to change notification settings - Fork 8
/
CMakeLists.txt
10 lines (8 loc) · 3.3 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
cmake_minimum_required(VERSION 3.23)
project(DataStructures_CPP)
set(CMAKE_CXX_STANDARD 17)
add_library(DataStructures_CPP src/List/Node.cpp src/List/Node.h src/List/LinkedList.cpp src/List/LinkedList.h src/List/DoublyNode.cpp src/List/DoublyNode.h src/List/DoublyLinkedList.cpp src/List/DoublyLinkedList.h src/Array/Element.cpp src/Array/Element.h src/Array/Stack.cpp src/Array/Stack.h src/List/Stack.cpp src/List/Stack.h src/Array/Queue.cpp src/Array/Queue.h src/List/Queue.cpp src/List/Queue.h src/Tree/Tree.cpp src/Tree/Tree.h src/Tree/TreeNode.cpp src/Tree/TreeNode.h src/Tree/Element.cpp src/Tree/Element.h src/Tree/Stack.cpp src/Tree/Stack.h src/Tree/Queue.cpp src/Tree/Queue.h src/Tree/AvlTree.cpp src/Tree/AvlTree.h src/Tree/AvlTreeNode.cpp src/Tree/AvlTreeNode.h src/Tree/BTree.cpp src/Tree/BTree.h src/Tree/BTreeNode.cpp src/Tree/BTreeNode.h src/Array/Hash.cpp src/Array/Hash.h src/List/Hash.cpp src/List/Hash.h src/Array/Heap/Heap.cpp src/Array/Heap/Heap.h src/Array/Heap/HeapNode.cpp src/Array/Heap/HeapNode.h src/Array/Heap/DHeap.cpp src/Array/Heap/DHeap.h src/Array/Set.cpp src/Array/Set.h src/Array/DisjointSet.cpp src/Array/DisjointSet.h src/Array/Graph/Graph.cpp src/Array/Graph/Graph.h src/List/Graph/Edge.cpp src/List/Graph/Edge.h src/List/Graph/EdgeList.cpp src/List/Graph/EdgeList.h src/List/Graph/Graph.cpp src/List/Graph/Graph.h src/General/Path.cpp src/General/Path.h src/General/AbstractGraph.cpp src/General/AbstractGraph.h src/Array/Heap/MaxHeap.cpp src/Array/Heap/MaxHeap.h src/Array/Heap/MaxDHeap.cpp src/Array/Heap/MaxDHeap.h src/Array/Heap/MinHeap.cpp src/Array/Heap/MinHeap.h src/Array/Heap/MinDHeap.cpp src/Array/Heap/MinDHeap.h src/Array/Sort/Sort.h src/Array/Sort/BubbleSort.cpp src/Array/Sort/BubbleSort.h src/Array/Sort/BucketSort.cpp src/Array/Sort/BucketSort.h src/Array/Sort/HeapSort.cpp src/Array/Sort/HeapSort.h src/Array/Sort/InsertionSort.cpp src/Array/Sort/InsertionSort.h src/Array/Sort/MergeSort.cpp src/Array/Sort/MergeSort.h src/Array/Sort/QuickSort.cpp src/Array/Sort/QuickSort.h src/Array/Sort/SelectionSort.cpp src/Array/Sort/SelectionSort.h src/Array/Sort/ShellSort.cpp src/Array/Sort/ShellSort.h)
add_executable(TestLinkedList src/List/Node.cpp src/List/Node.h src/List/LinkedList.cpp src/List/LinkedList.h Test/LinkedListTest.cpp src/List/DoublyNode.cpp src/List/DoublyNode.h src/List/DoublyLinkedList.cpp src/List/DoublyLinkedList.h src/Array/Element.cpp src/Array/Element.h src/Array/Stack.cpp src/Array/Stack.h src/List/Stack.cpp src/List/Stack.h)
add_executable(MathematicalExpression src/Array/MathematicalExpression/TokenType.h src/Array/MathematicalExpression/Token.cpp src/Array/MathematicalExpression/Token.h src/Array/MathematicalExpression/Element.h src/Array/MathematicalExpression/Element.cpp src/Array/MathematicalExpression/Stack.h src/Array/MathematicalExpression/Stack.cpp src/Array/MathematicalExpression/Evaluate.cpp)
add_executable(Polynomial src/List/Polynomial/TestPolynomial.cpp src/List/Polynomial/Term.cpp src/List/Polynomial/Term.h src/List/Polynomial/TermNode.cpp src/List/Polynomial/TermNode.h src/List/Polynomial/Polynomial.cpp src/List/Polynomial/Polynomial.h)
add_executable(DartsGame src/Array/DartsGame/Element.cpp src/Array/DartsGame/Element.h src/Array/DartsGame/Queue.cpp src/Array/DartsGame/Queue.h src/Array/DartsGame/Test.cpp src/Array/DartsGame/State.cpp src/Array/DartsGame/State.h)