2019-08-15 20:16:20 +00:00
|
|
|
PROJECT (BLOB-INSPECTOR)
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
|
|
|
|
SET (${PROJECT_NAME}_MAJOR_VERSION 0)
|
|
|
|
SET (${PROJECT_NAME}_MINOR_VERSION 0)
|
|
|
|
SET (${PROJECT_NAME}_PATCH_LEVEL 1)
|
|
|
|
|
2019-12-11 10:35:45 +00:00
|
|
|
ADD_DEFINITIONS ("-Wall -g -ansi -pedantic")
|
2019-08-15 20:16:20 +00:00
|
|
|
|
|
|
|
#ADD_DEFINITIONS ("-DSRC_DEBUG")
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
2019-12-11 10:35:45 +00:00
|
|
|
#set (CMAKE_VERBOSE_MAKEFILE "TRUE" CACHE BOOL "" FORCE)
|
2019-08-15 20:16:20 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# For "reasons" something to do with the way the comand line compiler
|
|
|
|
# is invoked on MacOS /usr/local/include is removed from the
|
|
|
|
# system include path so add it back in or we will fail to find
|
|
|
|
# qpid-python files as brew installs it there
|
|
|
|
#
|
|
|
|
if(APPLE)
|
|
|
|
include_directories (/usr/local/include)
|
|
|
|
link_directories (/usr/local/lib)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
#
|
|
|
|
# Interface include files
|
|
|
|
#
|
|
|
|
include_directories (${BLOB-INSPECTOR_SOURCE_DIR}/include)
|
|
|
|
|
2019-12-11 10:35:45 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
2019-08-15 20:16:20 +00:00
|
|
|
|
|
|
|
ADD_SUBDIRECTORY (src)
|
|
|
|
ADD_SUBDIRECTORY (bin)
|