s1-mod/deps/WinToast/examples/console-example/CMakeLists.txt
2024-02-27 03:09:30 -05:00

4 lines
279 B
CMake

set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:WINDOWS /ENTRY:wmainCRTStartup")
add_executable(WinToastTuiExample WIN32 main.cpp)
target_link_libraries(WinToastTuiExample PRIVATE WinToast)
set_target_properties(WinToastTuiExample PROPERTIES WIN32_EXECUTABLE ON)