add_executable(game
    "src/main.cpp"
)

target_link_libraries(game PRIVATE engine)

# On Windows, use the WINDOWS subsystem (no console) for release only
if(WIN32)
    if(CMAKE_BUILD_TYPE STREQUAL "Release")
        set_target_properties(game PROPERTIES WIN32_EXECUTABLE TRUE)
    endif()
endif()