mirror of
https://gitea.psi.ch/ELOG/mxml.git
synced 2026-09-09 01:23:22 +00:00
cmake - dummy library
This commit is contained in:
parent
e6e2e64548
commit
1132d0260a
23
CMakeLists.txt
Normal file
23
CMakeLists.txt
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# cmake for mxml
|
||||||
|
#
|
||||||
|
# template from https://dominikberner.ch/cmake-interface-lib/
|
||||||
|
#
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.12)
|
||||||
|
|
||||||
|
project("mxml"
|
||||||
|
VERSION 1
|
||||||
|
DESCRIPTION "XML encoder and decoder for use with MIDAS"
|
||||||
|
HOMEPAGE_URL "https://midas.triumf.ca")
|
||||||
|
|
||||||
|
add_library(${PROJECT_NAME} INTERFACE)
|
||||||
|
|
||||||
|
target_include_directories(${PROJECT_NAME} INTERFACE
|
||||||
|
$<BUILD_INTERFACE:${${PROJECT_NAME}_SOURCE_DIR}>
|
||||||
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
|
||||||
|
|
||||||
|
#target_include_directories(${PROJECT_NAME} INTERFACE .)
|
||||||
|
|
||||||
|
target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_11)
|
||||||
|
|
||||||
|
# end
|
||||||
Loading…
x
Reference in New Issue
Block a user