Skip to content
Discussion options

You must be logged in to vote

Five minutes later - the solution: setting the target sources for the tests target directly works.

  target_sources(tests
    PUBLIC
      FILE_SET cxx_modules TYPE CXX_MODULES
      BASE_DIRS ${CMAKE_SOURCE_DIR}/tests
      FILES Module.tests.ixx
  )

No idea why this is necessary though.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mrwsl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant