Skip to content

Commit

Permalink
retire some build system legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
jbuening authored and MartinNowack committed Dec 18, 2020
1 parent a918483 commit 5a194aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
11 changes: 0 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ set(PACKAGE_URL "\"https://klee.github.io\"")

################################################################################
# Sanity check - Disallow building in source.
# Otherwise we would overwrite the Makefiles of the old build system.
################################################################################
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
message(FATAL_ERROR "In source builds are not allowed. You should invoke "
Expand Down Expand Up @@ -746,16 +745,6 @@ add_subdirectory(tools)
option(ENABLE_UNIT_TESTS "Enable unit tests" OFF)
option(ENABLE_SYSTEM_TESTS "Enable system tests" ON)

# This provides a migration path for older build directories that have this
# variable set in their cache. Leaving it behind could lead to confusion so
# removing it is probably a good idea.
# TODO: Remove this eventually (probably next release or something).
if (DEFINED ENABLE_TESTS)
message(WARNING "You have the \"ENABLE_TESTS\" variable is your CMake cache."
"This variable no longer has any meaning so removing it from your cache")
unset(ENABLE_TESTS CACHE)
endif()

if (ENABLE_UNIT_TESTS OR ENABLE_SYSTEM_TESTS)
message(STATUS "Testing is enabled")

Expand Down
2 changes: 0 additions & 2 deletions README-CMake.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ cmake -DCMAKE_BUILD_TYPE=Release /path/to/klee/src
`USE_CMAKE_FIND_PACKAGE_LLVM` is `TRUE`. This can be used to tell CMake where
it can find LLVM outside of standard directories.

* `MAKE_BINARY` (STRING) - Path to `make` binary used to build KLEE's runtime.

* `metaSMT_DIR` (STRING) - Provides a hint to CMake, where the metaSMT constraint
solver can be found. This should be an absolute path to a directory
containing the file `metaSMTConfig.cmake`.
Expand Down

0 comments on commit 5a194aa

Please sign in to comment.