Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 48b3797

Browse files
committed
Fix cmake_macros.h
1 parent 50958a3 commit 48b3797

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

adorad/CMakeLists.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ set(CMAKE_C_STANDARD 11)
99
set(CMAKE_C_STANDARD_REQUIRED TRUE)
1010
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
1111

12-
# Configure the Macro file
13-
set(ADORAD_BUILD_SHARED_LIB ${BUILD_SHARED_LIBS}) # used in ../cmake/cmake_macros.h.in
14-
configure_file(
15-
${CMAKE_SOURCE_DIR}/cmake/cmake_macros.h.in
16-
${CMAKE_SOURCE_DIR}/adorad/core/cmake_macros.h
17-
)
18-
1912
#
2013
# Main Build File for the main Adorad Library
2114
#
@@ -127,12 +120,6 @@ install(
127120
FILES_MATCHING PATTERN "*.h"
128121
)
129122

130-
# adorad/core/CMake_Macros.h --> include/adorad/core/CMake_Macros.h
131-
install(
132-
FILES ${CMAKE_BINARY_DIR}/adorad/core/cmake_macros.h
133-
DESTINATION include/adorad/core/macros
134-
)
135-
136123
# For CORETEN_BUILD_SHARED_LIB, see Core/Export.h
137124
if(MSVC AND CORETEN_BUILD_SHARED_LIB)
138125
install(FILES $<TARGET_PDB_FILE:Adorad> DESTINATION lib OPTIONAL)

adorad/core/adcore.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ CREDITS
4949
Reminder: Be Explicit.
5050
*/
5151

52-
#ifndef CORETEN_USING_CUSTOM_GENERATED_MACROS
53-
#include <adorad/core/cmake_macros.h>
54-
#endif // CORETEN_USING_CUSTOM_GENERATED_MACROS
55-
5652
#include <adorad/core/os_defs.h>
5753
#include <adorad/core/cpu.h>
5854
#include <adorad/core/compilers.h>

0 commit comments

Comments
 (0)