Text-Renderer/CMakeLists.txt

16 lines
425 B
CMake

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)
target_link_libraries(TextRenderer ${LIB_PATH}/lib/liblibrary.a)