mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-12-31 16:17:10 +01:00
Added variables to be able to control some parts of the build.
This commit is contained in:
parent
4ce26ff55a
commit
ac2c9a78a7
14
SCsub
14
SCsub
@ -50,7 +50,17 @@ sources = [
|
|||||||
"mlpp/uni_lin_reg/uni_lin_reg.cpp",
|
"mlpp/uni_lin_reg/uni_lin_reg.cpp",
|
||||||
"mlpp/utilities/utilities.cpp",
|
"mlpp/utilities/utilities.cpp",
|
||||||
"mlpp/wgan/wgan.cpp",
|
"mlpp/wgan/wgan.cpp",
|
||||||
|
]
|
||||||
|
|
||||||
|
if env.pmlpp_build_tests:
|
||||||
|
sources += [
|
||||||
|
"test/mlpp_tests.cpp",
|
||||||
|
"test/mlpp_matrix_tests.cpp",
|
||||||
|
]
|
||||||
|
|
||||||
|
if env.pmlpp_build_old_classes:
|
||||||
|
print("asdasdasd")
|
||||||
|
sources += [
|
||||||
"mlpp/wgan/wgan_old.cpp",
|
"mlpp/wgan/wgan_old.cpp",
|
||||||
"mlpp/output_layer/output_layer_old.cpp",
|
"mlpp/output_layer/output_layer_old.cpp",
|
||||||
"mlpp/multi_output_layer/multi_output_layer_old.cpp",
|
"mlpp/multi_output_layer/multi_output_layer_old.cpp",
|
||||||
@ -88,10 +98,8 @@ sources = [
|
|||||||
"mlpp/cost/cost_old.cpp",
|
"mlpp/cost/cost_old.cpp",
|
||||||
"mlpp/convolutions/convolutions_old.cpp",
|
"mlpp/convolutions/convolutions_old.cpp",
|
||||||
"mlpp/activation/activation_old.cpp",
|
"mlpp/activation/activation_old.cpp",
|
||||||
|
]
|
||||||
|
|
||||||
"test/mlpp_tests.cpp",
|
|
||||||
"test/mlpp_matrix_tests.cpp",
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
module_env.add_source_files(env.modules_sources, sources)
|
module_env.add_source_files(env.modules_sources, sources)
|
||||||
|
Loading…
Reference in New Issue
Block a user