iw6-mod/deps/WinToast/examples/console-example/CMakeLists.txt

4 lines
279 B
CMake
Raw Normal View History

2024-02-27 01:34:37 -05:00
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)