File tree Expand file tree Collapse file tree 3 files changed +0
-18
lines changed Expand file tree Collapse file tree 3 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules)
21
21
include (CheckFileOffsetBits )
22
22
include (CTest )
23
23
include (FindAsan )
24
- include (GenerateExportHeader )
25
24
include (GNUInstallDirs )
26
25
27
26
if (NOT MSVC OR CMAKE_HOST_SYSTEM_NAME STREQUAL Windows )
Original file line number Diff line number Diff line change @@ -71,9 +71,6 @@ if (CMARK_SHARED)
71
71
# Avoid name clash between PROGRAM and LIBRARY pdb files.
72
72
set_target_properties (${LIBRARY} PROPERTIES PDB_NAME cmark-gfm_dll )
73
73
74
- generate_export_header (${LIBRARY}
75
- BASE_NAME ${PROJECT_NAME} )
76
-
77
74
list (APPEND CMARK_INSTALL ${LIBRARY} )
78
75
endif ()
79
76
@@ -98,11 +95,6 @@ if (CMARK_STATIC)
98
95
VERSION ${PROJECT_VERSION} )
99
96
endif (MSVC )
100
97
101
- if (NOT CMARK_SHARED )
102
- generate_export_header (${STATICLIBRARY}
103
- BASE_NAME ${PROJECT_NAME} )
104
- endif ()
105
-
106
98
list (APPEND CMARK_INSTALL ${STATICLIBRARY} )
107
99
endif ()
108
100
Original file line number Diff line number Diff line change 1
1
#ifndef CMARK_GFM_EXPORT_H
2
2
#define CMARK_GFM_EXPORT_H
3
3
4
- #ifdef CMARK_USE_CMAKE_HEADERS
5
- // if the CMake config header exists, use that instead of this Swift package prebuilt one
6
- // we need to undefine the header guard, since export.h uses the same one
7
- #undef CMARK_GFM_EXPORT_H
8
- #include "cmark-gfm_export.h"
9
- #else
10
-
11
4
#ifdef CMARK_GFM_STATIC_DEFINE
12
5
# define CMARK_GFM_EXPORT
13
6
# define CMARK_GFM_NO_EXPORT
45
38
# define CMARK_GFM_DEPRECATED_NO_EXPORT CMARK_GFM_NO_EXPORT CMARK_GFM_DEPRECATED
46
39
#endif
47
40
48
- #endif /* not CMARK_USE_CMAKE_HEADERS */
49
-
50
41
#endif /* not CMARK_GFM_EXPORT_H */
You can’t perform that action at this time.
0 commit comments