#
#    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.
#


Here, you must use the compiler that has been used to compile wxWidgets.


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

Extend your path variable to include the path to cmake and your wxWidgets libraries.

Adjust the value for "wxWidgets_ROOT_DIR" in CMakeLists.txt.

mkdir build_visual
cd build_visual
cmake -Wno-dev -G "Visual Studio 10" ..

The cmake command might have to be adjusted to your compiler version.

Open the file "build_visual/BSPWAVE_WX_WINDOWS_EXAMPLES.sln" in Visual Studio.
Compile and run the target test_bspwave_wx_win.

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

Extend your path variable to include the path to cmake, mingw your wxWidgets libraries.

Adjust the value for "wxWidgets_ROOT_DIR" in CMakeLists.txt.

mkdir build_mingw
cd build_mingw
cmake -Wno-dev -G "MinGW Makefiles" ..
mingw32-make test_bspwave_wx_win

xcopy ..\..\..\..\platform\windows\32\af_bspwave_widget_win.dll .

You also might have to copy the mingw runtime library to the current directory.

test_bspwave_wx_win.exe
