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

Extend your path variable to include the path to cmake and your tcl-tk installation.

Adjust the value for "TCL_PATH" in the file 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_TK_WINDOWS_EXAMPLES.sln" in Visual Studio.
Compile and run the target test_bspwave_tk_win.

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

Extend your path variable to include the path to cmake, mingw your tcl-tk installation.

Adjust the value for "TCL_PATH" in the file CMakeLists.txt.

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

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