add a convenience include for all nc build files
This commit is contained in:
parent
b389d86391
commit
c640c55181
13
nc.cmake
Normal file
13
nc.cmake
Normal file
@ -0,0 +1,13 @@
|
||||
if (NOT AUTOCONF_DEFINES)
|
||||
add_definitions(-DPACKAGE="${PROJECT_NAME}")
|
||||
add_definitions(-DPACKAGE_VERSION="${PROJECT_VERSION}")
|
||||
add_definitions(-DPACKAGE_NAME="${PROJECT_NAME}")
|
||||
add_definitions(-DPACKAGE_STRING="${PROJECT_NAME} ${PROJECT_VERSION}")
|
||||
|
||||
set (AUTOCONF_DEFINES 1)
|
||||
endif()
|
||||
|
||||
include (nc_cxx)
|
||||
include (nc_platform)
|
||||
include (nc_optimisation)
|
||||
include (nc_warnings)
|
Loading…
Reference in New Issue
Block a user