mirror of
https://github.com/corda/corda.git
synced 2024-12-24 23:26:48 +00:00
40 lines
899 B
CMake
40 lines
899 B
CMake
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)
|
|
|
|
ADD_DEFINITIONS ("-Wall -g -ansi -pedantic")
|
|
|
|
#ADD_DEFINITIONS ("-DSRC_DEBUG")
|
|
|
|
#
|
|
#
|
|
#
|
|
#set (CMAKE_VERBOSE_MAKEFILE "TRUE" CACHE BOOL "" FORCE)
|
|
|
|
#
|
|
# 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)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
|
|
ADD_SUBDIRECTORY (src)
|
|
ADD_SUBDIRECTORY (bin)
|