Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[cxxmodules] Add flag if module has C++ module alongside it
  • Loading branch information
Teemperor authored and vgvassilev committed Mar 3, 2018
commit d0ca156f5ee111a15a80b77d0ef9eb26ac10731a
7 changes: 5 additions & 2 deletions cmake/modules/RootNewMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,11 @@ function(ROOT_GENERATE_DICTIONARY dictionary)
endforeach()
endif()

if(runtime_cxxmodules AND ARG_MODULE)
set(newargs -cxxmodule ${newargs})
set(runtime_cxxmodules_env)
if(runtime_cxxmodules AND ARG_MODULE AND NOT ARG_MULTIDICT)
# FIXME: Once modules work better, we should use some other value like "1"
# to disable the module-build remarks from clang.
set(runtime_cxxmodules_env "ROOT_MODULES=DEBUG")
endif()

#---what rootcling command to use--------------------------
Expand Down