-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi, I am running clang 16 and cmake 3.26.3
> CC=clang CXX=clang++ cmake .. -G "Ninja"
-- The C compiler identification is Clang 16.0.1
-- The CXX compiler identification is Clang 16.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:15 (target_sources):
CMake's C++ module support is experimental. It is meant only for
experimentation and feedback to CMake developers.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done (3.4s)
CMake Warning (dev):
C++20 modules support via CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP is
experimental. It is meant only for compiler developers to try.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done (0.0s)
-- Build files have been written to: /home/matwey/lab/CMake_Modules/build
> cmake --build .
[5/6] Building CXX object CMakeFiles/demo.dir/main.cpp.o
FAILED: CMakeFiles/demo.dir/main.cpp.o
/usr/bin/clang++ -std=gnu++20 -MD -MT CMakeFiles/demo.dir/main.cpp.o -MF CMakeFiles/demo.dir/main.cpp.o.d @CMakeFiles/demo.dir/main.cpp.o.modmap -o CMakeFiles/demo.dir/main.cpp.o -c /home/matwey/lab/CMake_Modules/main.cpp
/home/matwey/lab/CMake_Modules/main.cpp:1:8: fatal error: module 'MyModule' not found
import MyModule;
~~~~~~~^~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels