forked from Poppro/PyreNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
83 lines (78 loc) · 2.47 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
cmake_minimum_required(VERSION 3.15)
project(PyreNet)
SET(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS -pthread)
enable_testing()
ADD_EXECUTABLE(PyreNetTest
test/Test.cpp
src/PyreNet.h
src/NeuralNet.cpp
src/NeuralNet.h
src/Layer.cpp
src/Layer.h
src/LayerDefinition.cpp
src/LayerDefinition.h
src/Perceptron.cpp
src/Perceptron.h
src/activations/Activation.cpp
src/activations/Activation.h
src/activations/ActivationFactory.cpp
src/activations/ActivationFactory.h
src/activations/Linear.cpp
src/activations/Linear.h
src/activations/Relu.cpp
src/activations/Relu.h
src/activations/Sigmoid.cpp
src/activations/Sigmoid.h
src/activations/Step.cpp
src/activations/Step.h
src/activations/Tanh.cpp
src/activations/Tanh.h
src/exceptions/InvalidInputSize.cpp
src/exceptions/InvalidInputSize.h
src/exceptions/InvalidLayer.cpp
src/exceptions/InvalidLayer.h
src/exceptions/InvalidNetworkSize.cpp
src/exceptions/InvalidNetworkSize.h
src/random/RandomGenerator.cpp
src/random/RandomGenerator.h
src/thread/LayerThreadPool.cpp
src/thread/LayerThreadPool.h
)
ADD_LIBRARY(PyreNet STATIC
src/PyreNet.h
src/NeuralNet.cpp
src/NeuralNet.h
src/Layer.cpp
src/Layer.h
src/LayerDefinition.cpp
src/LayerDefinition.h
src/Perceptron.cpp
src/Perceptron.h
src/activations/Activation.cpp
src/activations/Activation.h
src/activations/ActivationFactory.cpp
src/activations/ActivationFactory.h
src/activations/Linear.cpp
src/activations/Linear.h
src/activations/Relu.cpp
src/activations/Relu.h
src/activations/Sigmoid.cpp
src/activations/Sigmoid.h
src/activations/Step.cpp
src/activations/Step.h
src/activations/Tanh.cpp
src/activations/Tanh.h
src/exceptions/InvalidInputSize.cpp
src/exceptions/InvalidInputSize.h
src/exceptions/InvalidLayer.cpp
src/exceptions/InvalidLayer.h
src/exceptions/InvalidNetworkSize.cpp
src/exceptions/InvalidNetworkSize.h
src/random/RandomGenerator.cpp
src/random/RandomGenerator.h
src/thread/LayerThreadPool.cpp
src/thread/LayerThreadPool.h)
ADD_TEST(System_Test
./PyreNetTest
)