mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-21 21:58:04 +00:00
10 lines
382 B
CMake
10 lines
382 B
CMake
|
cmake_minimum_required(VERSION 3.27)
|
||
|
project(sokol_corner_radius C)
|
||
|
|
||
|
if(CMAKE_SYSTEM_NAME STREQUAL Windows)
|
||
|
add_executable(sokol_corner_radius WIN32 main.c)
|
||
|
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT sokol_corner_radius)
|
||
|
else()
|
||
|
add_executable(sokol_corner_radius main.c)
|
||
|
endif()
|
||
|
target_link_libraries(sokol_corner_radius PUBLIC sokol)
|