cmake_minimum_required(VERSION 3.0)

# set project name from current directory
get_filename_component(BASENAME ${CMAKE_SOURCE_DIR} NAME)
project(${BASENAME})

set (CMAKE_CXX_STANDARD 11)
set(CMAKE_C_FLAGS "-Wall")
set(CMAKE_CXX_FLAGS "-Wall")

# define executable to build
include_directories("inc")
aux_source_directory(src SRC_FILES)
add_library(${PROJECT_NAME} ${SRC_FILES})


cmake_minimum_required(VERSION 3.0)

# set project name from current directory
get_filename_component(BASENAME ${CMAKE_CURRENT_LIST_DIR} NAME)
project(${BASENAME})

set (CMAKE_CXX_STANDARD 11)
set(CMAKE_C_FLAGS "-Wall")
set(CMAKE_CXX_FLAGS "-Wall")

# define executable to build
include_directories("inc")
aux_source_directory(src SRC_FILES)
add_library(${PROJECT_NAME} ${SRC_FILES})


Set use correct directory for setting the project name
fix: Set use correct directory for setting the project name

Fixes #15
