Skip to content

Commit

Permalink
Merge pull request #699 from kordejong/gh698
Browse files Browse the repository at this point in the history
Get rid if iwyu stuff
  • Loading branch information
kordejong committed Aug 5, 2024
2 parents 18a13d0 + 01701d3 commit ae750d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion environment/cmake/Lue.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ message(STATUS "+ tests : ${LUE_QA_WITH_TESTS}")
message(STATUS "")
message(STATUS "CMAKE_GENERATOR : ${CMAKE_GENERATOR}")
message(STATUS "GENERATOR_IS_MULTI_CONFIG : ${GENERATOR_IS_MULTI_CONFIG}")
message(STATUS "LUE_ENABLE_IWYU : ${LUE_ENABLE_IWYU}")
message(STATUS "CMAKE_SOURCE_DIR : ${CMAKE_SOURCE_DIR}")
message(STATUS "CMAKE_BINARY_DIR : ${CMAKE_BINARY_DIR}")
message(STATUS "CMAKE_INSTALL_PREFIX : ${CMAKE_INSTALL_PREFIX}")
Expand Down
21 changes: 0 additions & 21 deletions environment/cmake/LueConfiguration.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,6 @@ include(CheckCXXSymbolExists)


# Options to be set by the user ------------------------------------------------
if(PROJECT_IS_TOP_LEVEL)
option(LUE_ENABLE_IWYU
"Enable include-what-you-use"
FALSE)

if(LUE_ENABLE_IWYU)
set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE)

find_program(INCLUDE_WHAT_YOU_USE_EXECUTABLE include-what-you-use REQUIRED)

# Revisit once it is easy to use include-what-you-use >= 0.18 (try: include-what-you-use --version)
# set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE
# ${INCLUDE_WHAT_YOU_USE_EXECUTABLE}
# -Xiwyu --mapping-file=...
# -Xiwyu --error
# CACHE STRING "Include-what-you-use command"
# )
endif()
endif()


option(LUE_BUILD_DATA_MODEL
"Build LUE data model API"
TRUE)
Expand Down

0 comments on commit ae750d8

Please sign in to comment.