Created
October 30, 2015 07:48
-
-
Save michaelilyin/9db9ed8b34da0c81c776 to your computer and use it in GitHub Desktop.
server/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8) | |
set (PROJECT server) | |
project (${PROJECT}) | |
include_directories(include) | |
AUX_SOURCE_DIRECTORY(src SRC1) | |
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -std=gnu++11") | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") | |
add_executable (${PROJECT} ${SRC1} ${CMAKE_C_FLAGS}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment