Skip to content

Commit 7d80ec6

Browse files
committed
Changes to be committed:
modified: CMakeLists.txt modified: cmake/Core.cmake modified: inc/ae2f/Cast.h modified: inc/ae2f/Cast/Constexpr.hpp
1 parent 88b4c02 commit 7d80ec6

4 files changed

Lines changed: 14 additions & 10 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ enable_testing()
44

55
include(cmake/Core.cmake)
66

7-
if(NOT TARGET ae2f::${PROJECT_NAME})
7+
if(NOT TARGET ae2f::Core)
88
configure_file(${PROJECT_SOURCE_DIR}/hin/Pack/Num.h.in ${PROJECT_SOURCE_DIR}/inc/ae2f/Pack/Num.auto.h)
99
configure_file(${PROJECT_SOURCE_DIR}/hin/Call.h.in ${PROJECT_SOURCE_DIR}/inc/ae2f/Call.auto.h)
1010
configure_file(${PROJECT_SOURCE_DIR}/hin/Float.h.in ${PROJECT_SOURCE_DIR}/inc/ae2f/Float.auto.h)

cmake/Core.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ endfunction()
199199

200200
# Domain name customization.
201201
function(ae2f_CoreLibFetch_DNS prm_AuthorName prm_namespace prm_TarName prm_TagName prm_Domain)
202-
if(NOT TARGET ${prm_TarName})
202+
if(NOT TARGET ${prm_namespace}::${prm_TarName})
203203
if(NOT EXISTS ${ae2f_ProjRoot}/${ae2f_submod}/${prm_AuthorName}/${prm_TarName}/CMakeLists.txt)
204204
execute_process(
205205
COMMAND

inc/ae2f/Cast.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,16 @@
150150
#define restrict
151151
#endif // C++
152152

153+
#if !__ae2f_stdcheck_CC(201103L)
154+
/// @brief
155+
/// Means that there will be no exception thrown written in code.
156+
#define noexcept
157+
#define constexpr
158+
#endif /* C++<=11 */
159+
160+
#if ae2f_WhenC(!)0
161+
#undef noexcept
162+
#define noexcept
163+
#endif
164+
153165
#endif

inc/ae2f/Cast/Constexpr.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,4 @@
8686
#define consteval
8787
#endif // C++20
8888

89-
#if !__ae2f_stdcheck_CC(201103L)
90-
/// @brief
91-
/// Means that there will be no exception thrown written in code.
92-
#define noexcept
93-
#define constexpr
94-
#else
95-
#endif /* C++<=11 */
96-
9789
#endif

0 commit comments

Comments
 (0)