Skip to content

Commit a90bb1d

Browse files
author
sigurd4
committed
Got it working by following llvm/llvm-project#80231 (comment)
1 parent 1b24f64 commit a90bb1d

File tree

247 files changed

+18018
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+18018
-5
lines changed

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,12 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") # Windows
9191
set(STD_INCLUDE_PATH "C:/path/to/libc++/headers/folder")
9292
endif()
9393

94+
include(std.cmake)
95+
9496
# Require C++23 standard
9597
set(CMAKE_CXX_STANDARD 23)
9698
set(CMAKE_CXX_STANDARD_REQUIRED ON)
97-
set(CMAKE_CXX_EXTENSIONS OFF)
99+
set(CMAKE_CXX_EXTENSIONS ON)
98100

99101
# Enable module support for different versions of CMake
100102
if(CMAKE_VERSION VERSION_LESS "3.28.0")
@@ -273,8 +275,8 @@ endmacro()
273275

274276
# This macro links the standard library to a target
275277
macro(link_std target)
276-
#add_dependencies(${target} std-populate)
277-
#target_link_libraries(${target} std)
278+
add_dependencies(${target} std)
279+
target_link_libraries(${target} std)
278280
target_compile_features(${target} PRIVATE cxx_std_23)
279281
endmacro()
280282

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1},{"kind":"cmakeFiles","version":1}]}

0 commit comments

Comments
 (0)