#
#    Copyright Analog Flavor 2013-2025
#
#    All rights reserved.
#
#    This software contains proprietary and confidential information which is the
#    property of Analog Flavor and is subject to license terms.
#
#    This file may be used in accordance with the license agreement 
#    provided with the software.
#
#    This copyright notice may not be removed or altered.
#

Building with CMake and Visual Studio
-------------------------------------

Install cmake and add the executable path to your path variable:

Create a build directory:

mkdir build_visual
cd build_visual

Run cmake:

cmake -Wno-dev -G "Visual Studio 10" ..

The cmake command might have to be adjusted to your version of visual studio.

Open the file "build_visual/BSPWAVE_WINDOWS_EXAMPLES.sln" in Visual Studio.
Compile and run the targets test_bspwave_win_main and test_bspwave_win_widget.

Building with CMake and mingw
-----------------------------

Install cmake and add the executable path to your path variable:
Install mingw and add the executable path to your path variable:

Create a build directory:

mkdir build_mingw
cd build_mingw

Run cmake:

cmake -Wno-dev -G "MinGW Makefiles" ..
mingw32-make test_bspwave_win_widget
mingw32-make test_bspwave_win_main

Copy the dll for execution of the executables:

xcopy ..\..\..\..\bin\af_bspwave_widget_win.dll .

Run the test cases:

test_bspwave_win_main.exe
test_bspwave_win_widget.exe

