Skip to content

Conversation

@kassane
Copy link
Contributor

@kassane kassane commented Aug 21, 2024

Fix:

-- Configuring done (2.1s)
CMake Error at main/CMakeLists.txt:63 (target_sources):
  Cannot find source file:

    LED.swift

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
  .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
  .f95 .f03 .hip .ispc


-- Generating done (0.4s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
FAILED: build.ninja 

Tested on ArchLinux (x86_64/zen3) - GPIO i18 (blink-led)

image

cmake: case-sensitive
@rauhul
Copy link
Member

rauhul commented Aug 21, 2024

Thanks for the fix!

@rauhul rauhul merged commit 0783cc1 into swiftlang:main Aug 21, 2024
@kassane kassane deleted the case-sensitive-cmake branch August 21, 2024 17:19
trundlebits pushed a commit to trundlebits/swift-embedded-examples that referenced this pull request Jul 18, 2025
cmake: case-sensitive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants