-
Notifications
You must be signed in to change notification settings - Fork 22
/
CMakeLists.txt
28 lines (22 loc) · 1013 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#---------------------------------------------------------------------------------
cmake_minimum_required(VERSION 2.8.0 FATAL_ERROR)
#---------------------------------------------------------------------------------
if (GTESTDIR)
# set by parent project, leave it
else()
set(GTESTDIR "${CMAKE_SOURCE_DIR}/deps/gtest")
endif()
#---------------------------------------------------------------------------------
# Setup the top most project
#---------------------------------------------------------------------------------
set(PROJECT_NAME "ZDNSParser")
message(STATUS "************ Starting ${PROJECT_NAME} ************")
project(${PROJECT_NAME})
#---------------------------------------------------------------------------------
# Include house keeping cmake file to keep master file cleaner
#---------------------------------------------------------------------------------
include(cmake/env_setup.cmake)
include(cmake/cxx_flag_overrides.cmake)
# subdirs
add_subdirectory(src)
add_subdirectory(test)