diff --git a/CMakeLists.txt b/CMakeLists.txt index da58d73..c8afd59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -242,7 +242,10 @@ endif() ########################## include(cmake_scripts/IDE_setup.cmake) -include(cmake_scripts/unit_tests.cmake) + +if(DEVTESTS) + include(cmake_scripts/unit_tests.cmake) +endif() ################### # Installation diff --git a/contribs/build_mingw/set_up_Codeblocks.ps1 b/contribs/build_mingw/set_up_Codeblocks.ps1 index 69c0a3c..c7a18b5 100644 --- a/contribs/build_mingw/set_up_Codeblocks.ps1 +++ b/contribs/build_mingw/set_up_Codeblocks.ps1 @@ -7,6 +7,7 @@ cmake -B "cmake_build_CB" -G "CodeBlocks - MinGW Makefiles" ` -DIDE_SETUP=ON ` -DTASK="Build CLI+GUI" ` -DINSTALL_PATH="${build_path}/Aether" ` + -DDEVTESTS=1 ` -DCMAKE_BUILD_TYPE=Release ` -DFFTW_INCLUDES="${build_path}/fftw" ` -DFFTW_LIB="${build_path}/fftw/libfftw3-3.dll" ` diff --git a/contribs/build_vs2022/setup_vs_studio.ps1 b/contribs/build_vs2022/setup_vs_studio.ps1 index b0e5c1f..c212044 100644 --- a/contribs/build_vs2022/setup_vs_studio.ps1 +++ b/contribs/build_vs2022/setup_vs_studio.ps1 @@ -10,6 +10,7 @@ cmake -B "cmake_build_VS" -G "Visual Studio 17 2022" ` -DIDE_SETUP=ON ` -DTASK="Build CLI+GUI" ` -DINSTALL_PATH="${build_path}/Aether" ` + -DDEVTESTS=1 ` -DFFTW_INCLUDES="${build_path}/fftw" ` -DFFTW_LIB="${build_path}/fftw/libfftw3-3.lib" ` -DLUA_LIBRARY="${build_path}/lua/lib/lua.lib" ` diff --git a/contribs/build_vs2022/setup_vs_studio_debug.ps1 b/contribs/build_vs2022/setup_vs_studio_debug.ps1 index cacd0d1..55fb557 100644 --- a/contribs/build_vs2022/setup_vs_studio_debug.ps1 +++ b/contribs/build_vs2022/setup_vs_studio_debug.ps1 @@ -10,6 +10,7 @@ cmake -B "cmake_build_VS" -G "Visual Studio 17 2022" ` -DIDE_SETUP=ON ` -DTASK="Build CLI+GUI" ` -DINSTALL_PATH="${build_path}/Aether" ` + -DDEVTESTS=1 ` -DFFTW_INCLUDES="${build_path}/fftw" ` -DFFTW_LIB="${build_path}/fftw/libfftw3-3.lib" ` -DLUA_LIBRARY="${build_path}/lua/lib/lua.lib" `