You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
356 B
16 lines
356 B
cmake_minimum_required(VERSION 3.4.3)
|
|
|
|
add_project(Lab4)
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
|
|
|
|
file(GLOB SOURCES "*.cpp")
|
|
file(GLOB HEADERS "*.h" "*.hpp")
|
|
|
|
set(SOURCE_FILES ${HEADERS} ${SOURCES} )
|
|
|
|
add_executable(Lab4 ${SOURCE_FILES})
|