20 lines
475 B
CMake
20 lines
475 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
set(CMAKE_C_STANDARD 11)
|
|
project(AWSMRPC)
|
|
|
|
option(SUBPROJECT "Using SubProject" ON)
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3")
|
|
|
|
include_directories(PUBLIC ${CMAKE_SOURCE_DIR}/utils)
|
|
|
|
link_directories(${PROJECT_NAME} PUBLIC ${CMAKE_SOURCE_DIR}/lib)
|
|
|
|
add_subdirectory(utils/VSConfig)
|
|
add_subdirectory(utils/VSClock)
|
|
add_subdirectory(utils/ZMQLayout)
|
|
add_subdirectory(utils/AWSMProtobuf)
|
|
|
|
add_subdirectory(AWSMServer)
|
|
add_subdirectory(AWSM)
|