Cross-platform GUI development in C.
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- cmake_minimum_required(VERSION 3.24)
- project(cerberus C)
-
- set(CMAKE_C_STANDARD 11)
-
- if (WIN32)
- # TODO set arch on target instead of generator
- if (CMAKE_SIZEOF_VOID_P EQUAL 8)
- set(PROJECT_ARCH x64)
- add_definitions(-DWIN64)
- else ()
- set(PROJECT_ARCH x86)
- add_definitions(-DWIN32)
- endif ()
- add_executable(cerberus WIN32 src/main.c)
- elseif(APPLE)
- add_definitions(-DMACOS)
- elseif(UNIX)
- add_definitions(-DUNIX)
- endif ()
|