msh-console/msh-console-library/CMakeLists.txt

14 lines
655 B
CMake
Raw Normal View History

# msh-console dynamic library by praticamentetilde (Claudio Maggioni)
# licensed with "The Unlicense"
project(msh-console-library)
cmake_minimum_required(VERSION 2.8)
# Create a library which includes the source listed.
# The extension is already found. Any number of sources could be listed here.
SET(CMAKE_CXX_FLAGS "-std=c++11")
add_library (msh-console command.cpp commandexecutor.cpp commandexecutor.h command.h commands.cpp shell.cpp shell.h)
# Make sure the compiler can find include files for the library
# when other libraries or executables link to this library
target_include_directories (msh-console PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})