2019-10-15 14:00:06 +02:00
|
|
|
cmake_minimum_required(VERSION 3.0)
|
|
|
|
project(TextRenderer)
|
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
|
|
|
|
|
|
file(GLOB_RECURSE SOURCES src/*.cpp)
|
|
|
|
file(GLOB_RECURSE HEADERS src/*.h)
|
|
|
|
include_directories(src)
|
|
|
|
|
|
|
|
set(LIB_PATH "${CMAKE_SOURCE_DIR}/../library/build")
|
|
|
|
|
|
|
|
include_directories(${LIB_PATH}/include)
|
2019-10-15 16:12:56 +02:00
|
|
|
add_executable(TextRenderer ${SOURCES} ${HEADERS} src/Bitmap.cpp src/Bitmap.h)
|
2019-10-15 14:00:06 +02:00
|
|
|
|
|
|
|
target_link_libraries(TextRenderer ${LIB_PATH}/lib/liblibrary.a)
|
|
|
|
|