File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ EXAMPLE = beman.execution.examples.stop_token
4242
4343# ###############################################
4444ifeq (${hostSystemName},Darwin)
45- export LLVM_PREFIX:=$(shell brew --prefix llvm)
45+ export LLVM_PREFIX: =$(shell brew --prefix llvm)
4646 export LLVM_DIR: =$(shell realpath ${LLVM_PREFIX})
4747 export PATH: =${LLVM_DIR}/bin:${PATH}
4848
113113build :
114114 cmake -G Ninja -S $(SOURCEDIR ) -B $(BUILD ) $(TOOLCHAIN ) $(SYSROOT ) \
115115 -D CMAKE_EXPORT_COMPILE_COMMANDS=ON \
116- -D CMAKE_SKIP_INSTALL_RULES=ON \
116+ -D CMAKE_SKIP_INSTALL_RULES=OFF \
117117 -D CMAKE_CXX_STANDARD=23 \
118118 -D CMAKE_CXX_EXTENSIONS=ON \
119119 -D CMAKE_CXX_STANDARD_REQUIRED=ON \
Original file line number Diff line number Diff line change 44#ifdef BEMAN_HAS_IMPORT_STD
55import std;
66#else
7-
87#include < version>
98#include < iostream>
109#include < string>
11-
1210#endif
1311
1412import beman_execution;
@@ -21,7 +19,9 @@ int main() {
2119 ex::then ([](const auto & s1, const auto & s2) { return s1 + s2; }))
2220 .value_or (std::tuple (std::string (" oops" )));
2321 std::cout << " result='" << result << " '\n " ;
24- #else
22+ #elif defined(BEMAN_HAS_IMPORT_STD)
2523 std::println (" ex::version = {}" , ex::version);
24+ #else
25+ std::cout << " ex::version = " << ex::version << " \n " ;
2626#endif
2727}
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ endif()
220220
221221install(
222222 TARGETS ${TARGET_NAME}
223- EXPORT ${TARGETS_EXPORT_NAME}1
223+ EXPORT ${TARGETS_EXPORT_NAME}
224224 ARCHIVE DESTINATION lib/$<CONFIG>
225225 FILE_SET ${TARGET_NAME}_public_headers
226226 FILE_SET ${TARGET_NAME}_detail_headers
@@ -231,7 +231,7 @@ install(
231231)
232232
233233install(
234- EXPORT ${TARGETS_EXPORT_NAME}1
234+ EXPORT ${TARGETS_EXPORT_NAME}
235235 FILE ${TARGETS_EXPORT_NAME}.cmake
236236 DESTINATION "${INSTALL_CONFIGDIR}"
237237 NAMESPACE ${TARGET_NAMESPACE} ::
You can’t perform that action at this time.
0 commit comments