Skip to content

Commit

Permalink
changes in meson.build
Browse files Browse the repository at this point in the history
  • Loading branch information
MSallermann committed Oct 24, 2023
1 parent 7e6ea18 commit 3dad6dc
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project('seldon', 'cpp',
version : '0.1',
default_options : ['warning_level=3', 'cpp_std=c++20', ])
default_options : ['warning_level=3', 'cpp_std=c++20', 'optimization=3'])

add_global_arguments('-Wno-unused-local-typedefs', language : 'cpp')

Expand All @@ -13,11 +13,11 @@ exe = executable('robbie', 'main.cpp',
)

tests = [
# ['Test_ActivationFunctions', 'test/test_activation_functions.cpp'],
# ['Test_LossFunctions', 'test/test_loss_functions.cpp'],
# ['Test_FullyConnectedLayer', 'test/test_fc_layer.cpp'],
['Test_ActivationFunctions', 'test/test_activation_functions.cpp'],
['Test_LossFunctions', 'test/test_loss_functions.cpp'],
['Test_FullyConnectedLayer', 'test/test_fc_layer.cpp'],
['Test_XOR', 'test/test_xor.cpp'],
# ['Test_BackwardPropagations', 'test/test_backward_propagations.cpp'],
['Test_BackwardPropagations', 'test/test_backward_propagations.cpp'],
]

Catch2 = dependency('Catch2', method : 'cmake', modules : ['Catch2::Catch2WithMain', 'Catch2::Catch2'])
Expand All @@ -31,13 +31,13 @@ foreach t : tests
endforeach


# examples = [
# ['mnist', ['examples/mnist/main.cpp', 'examples/mnist/mnist_loader.cpp']]
# ]
examples = [
['mnist', ['examples/mnist/main.cpp', 'examples/mnist/mnist_loader.cpp']]
]

# foreach e : examples
# exe = executable(e.get(0), e.get(1),
# dependencies : [dependency('fmt')],
# include_directories : ['examples' / e.get(0), incdir]
# )
# endforeach
foreach e : examples
exe = executable(e.get(0), e.get(1),
dependencies : [dependency('fmt')],
include_directories : ['examples' / e.get(0), incdir]
)
endforeach

0 comments on commit 3dad6dc

Please sign in to comment.