Skip to content

Commit 77575a4

Browse files
committed
Adds new header which tracks the inclusion of libIO avaliability. We might add this to CommonDataModel.h later but for now its a standalone file
1 parent 90c6e68 commit 77575a4

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

projects/biogears/libBiogears/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
###############################################################################
44
message(STATUS " Configuring libbiogears")
55

6+
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/include/biogears/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/../generated/biogears/config.h NEWLINE_STYLE LF)
7+
68
#Biogears CDM
79
add_source_files(CDM_PUBLIC_HDRS LOCATION ${BIOGEARS_SOURCE_DIR}/libCDM/include/ REGEX "*.h" SOURCE_GROUP "Headers\\Public\\")
810
add_source_files(CDM_GEN_HDRS LOCATION ${BIOGEARS_BINARY_DIR}/biogears REGEX "*.hxx" SOURCE_GROUP "Headers\\Public\\")
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#pragma once
2+
3+
#cmakedefine01 Biogears_BUILD_IO_LIBRARY
4+
#if Biogears_BUILD_IO_LIBRARY
5+
#define BIOGEARS_IO_PRESENT 1
6+
#endif
7+
8+
#cmakedefine01 Biogears_IO_INCLUDE_STATES
9+
#if Biogears_BUILD_IO_LIBRARY
10+
#define BIOGEARS_IO_EMBED_STATES 1
11+
#endif
12+
13+
#cmakedefine01 Biogears_IO_INCLUDE_SCENARIOS
14+
#if Biogears_IO_INCLUDE_SCENARIOS
15+
#define BIOGEARS_IO_EMBED_TEMPLATES 1
16+
#endif
17+
18+
#cmakedefine01 Biogears_IO_INCLUDE_DATA_TEMPLATES
19+
#if Biogears_IO_INCLUDE_DATA_TEMPLATES
20+
#define BIOGEARS_IO_EMBED_TEMPLATES 1
21+
#endif
22+

0 commit comments

Comments
 (0)