-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
33 lines (27 loc) · 1.17 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
cmake_minimum_required(VERSION 3.25)
# The path to vcpkg.cmake file provided by `vcpkg integrate install`
set(CMAKE_TOOLCHAIN_FILE /Users/owenthcarey/vcpkg/scripts/buildsystems/vcpkg.cmake CACHE STRING "Vcpkg toolchain file")
project(cpp_ai)
set(CMAKE_CXX_STANDARD 23)
find_package(Eigen3 CONFIG REQUIRED)
add_executable(cpp_ai main.cpp ml/src/LinearRegression.cpp ml/include/LinearRegression.h
ml/src/LogisticRegression.cpp
ml/include/LogisticRegression.h
ml/src/KNearestNeighbors.cpp
ml/include/KNearestNeighbors.h
ml/src/SupportVectorMachine.cpp
ml/include/SupportVectorMachine.h
ml/src/KMeansClustering.cpp
ml/include/KMeansClustering.h
dl/src/NeuralNetwork.cpp
dl/include/NeuralNetwork.h
dl/src/ConvolutionalNeuralNetwork.cpp
dl/include/ConvolutionalNeuralNetwork.h
dl/src/RecurrentNeuralNetwork.cpp
dl/include/RecurrentNeuralNetwork.h
dl/src/GenerativeAdversarialNetwork.cpp
dl/include/GenerativeAdversarialNetwork.h
dl/src/Autoencoder.cpp
dl/include/Autoencoder.h)
# Link Eigen3 to your target
target_link_libraries(cpp_ai Eigen3::Eigen)