Text-Renderer/CMakeLists.txt

16 lines
425 B
CMake
Raw Normal View History

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)
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)