mirror of
https://github.com/simtactics/niotso.git
synced 2025-03-15 08:11:22 +00:00
Assembla's decision to remove Trac incited us to ditch them entirely. Further, the repository no longer includes binaries or libraries; these can be downloaded from niotso.org/pub/ and updated with the included update-libraries script.
14 lines
354 B
CMake
14 lines
354 B
CMake
cmake_minimum_required(VERSION 2.6)
|
|
project(libgldemo)
|
|
|
|
if(WIN32)
|
|
set(LIBGLDEMO_SOURCES wgl.c)
|
|
else()
|
|
set(LIBGLDEMO_SOURCES glx.c)
|
|
add_definitions(-D_POSIX_C_SOURCE=200112)
|
|
endif()
|
|
|
|
add_library(libgldemo_static STATIC ${LIBGLDEMO_SOURCES})
|
|
set_target_properties(libgldemo_static PROPERTIES
|
|
OUTPUT_NAME "gldemo"
|
|
CLEAN_DIRECT_OUTPUT 1)
|