Sha256: 6ac53fe8e35eac666c91529511ca01b6e6ad2f2b62288b6577d91024593c1e59
Contents?: true
Size: 1.4 KB
Versions: 8
Compression:
Stored size: 1.4 KB
Contents
cmake_minimum_required(VERSION 3.11) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "MinSizeRel" CACHE STRING "Choose the type of build, options are: Debug, Release, or MinSizeRel." FORCE) message(STATUS "No build type specified, defaulting to MinSizeRel.") endif() PROJECT(os2 VERSION "${PROJECT_VERSION}" LANGUAGES C) MESSAGE(STATUS "${PROJECT_NAME} version: ${PROJECT_VERSION}") include(project_common) if(WATCOM) # this requires using the following toolchainfile file # -DCMAKE_TOOLCHAIN_FILE={path}\watcom_open_os2vs_toolchain.cmake string(APPEND CMAKE_C_FLAGS " -wx") # warning level: to maximum setting string(APPEND CMAKE_C_FLAGS_RELEASE " -oneatx") string(APPEND CMAKE_C_FLAGS_MINSIZEREL " -oneatx") # optimization: # n -> allow numerically unstable optimizations # e -> expand user functions inline # a -> relax aliasing constraints # t -> favor execution time over code size in optimizations # x -> equivalent to -obmiler -s string(APPEND CMAKE_C_FLAGS_DEBUG " -d2") # full symbolic debugging info string(APPEND CMAKE_EXE_LINKER_FLAGS_DEBUG " debug watcom all") endif() demo_app(../demos version) demo_app(../demos firework) demo_app(../demos ozdemo) demo_app(../demos newtest) demo_app(../demos ptest) demo_app(../demos rain) demo_app(../demos testcurs) demo_app(../demos worm) demo_app(../demos xmas)
Version data entries
8 entries across 8 versions & 1 rubygems