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

PROJECT(BSPWAVE_WINDOWS_EXAMPLES)

INCLUDE_DIRECTORIES(../include)

SET(USER_DLL_PATH ${PROJECT_SOURCE_DIR}/../../../platform/windows/32)

LINK_DIRECTORIES(${USER_DLL_PATH})

IF (CMAKE_HOST_WIN32)

    ADD_EXECUTABLE(test_bspwave_win_widget WIN32
                mswBspWaveWidgetTestApp.c)

    ADD_EXECUTABLE(test_bspwave_win_main WIN32
                mswBspWaveMainTestApp.c)

    SET ( REQUIRED_LIBRARIES
        af_bspwave_widget_win
        )

    TARGET_LINK_LIBRARIES(test_bspwave_win_widget
        ${REQUIRED_LIBRARIES}
        )
    TARGET_LINK_LIBRARIES(test_bspwave_win_main
        ${REQUIRED_LIBRARIES}
        )

    # Configure the template file
    CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/visual_user_template.txt ${PROJECT_BINARY_DIR}/test_bspwave_win_widget.vcxproj.user @ONLY)
    CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/visual_user_template.txt ${PROJECT_BINARY_DIR}/test_bspwave_win_main.vcxproj.user @ONLY)


ENDIF (CMAKE_HOST_WIN32)


