We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c19a933 + d824acc commit 7fa2a07Copy full SHA for 7fa2a07
src/CMakeLists.txt
@@ -122,6 +122,6 @@ add_subdirectory(symtab2gb)
122
add_subdirectory(libcprover-cpp)
123
add_subdirectory(goto-bmc)
124
125
-if(UNIX OR WITH_MEMORY_ANALYZER)
+if((NOT WIN32 AND NOT APPLE) OR WITH_MEMORY_ANALYZER)
126
add_subdirectory(memory-analyzer)
127
endif()
src/Makefile
@@ -52,9 +52,9 @@ else
52
detected_OS := $(shell sh -c 'uname 2>/dev/null || echo Unknown')
53
endif
54
55
-ifeq ($(detected_OS),Linux)
+ifeq ($(WITH_MEMORY_ANALYZER),1)
56
all: memory-analyzer.dir
57
-else ifeq ($(WITH_MEMORY_ANALYZER),1)
+else ifneq ($(filter-out Windows Darwin,$(detected_OS)),)
58
59
60
0 commit comments