mshackman/far/CMakeLists.txt
armin d007778f4a Restarted Project in Java
Parser implemented
2018-01-06 01:13:51 +01:00

15 lines
419 B
CMake

cmake_minimum_required(VERSION 3.10.1)
project(far)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra")
#Bring the headers into the project
include_directories(include)
#Can manually add the sources using the set command as follows:
#set(SOURCES src/mainapp.cpp src/Student.cpp)
#However, the file(GLOB...) allows for wildcard additions:
file(GLOB SOURCES "src/*.cpp")
add_executable(far ${SOURCES})