Mercurial > public > algo-animator
annotate CMakeLists.txt @ 28:99592fae8ea1
add instructions
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Wed, 28 Jun 2023 08:59:28 +0100 |
parents | 30b6812fefdd |
children | dae463bbf5ca |
rev | line source |
---|---|
27 | 1 cmake_minimum_required(VERSION 3.22) |
2 project(algo_animator) | |
3 | |
4 set(SOURCES src/main.c) | |
5 set(FREETYPE_DIR /usr/local/include/freetype2) | |
6 | |
7 include_directories(${FREETYPE_DIR}) | |
8 | |
9 add_executable(algo_animator ${SOURCES}) | |
10 | |
11 target_link_libraries(algo_animator | |
12 glut | |
13 GL | |
14 GLU | |
15 m | |
16 freetype | |
17 ) | |
18 | |
19 file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/fonts DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/build) |