We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abea3af commit 87db0bfCopy full SHA for 87db0bf
src/CMakeLists.txt
@@ -797,6 +797,9 @@ install(DIRECTORY "${CMAKE_BINARY_DIR}/lib/" DESTINATION lib
797
798
# symlink source into expected installation location for go-to-definition, if file system allows it
799
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/src)
800
+# get rid of all files in `src/lean` that may have been loaded from the cache
801
+# (at the time of writing this, this is the case for some lake test .c files)
802
+file(REMOVE_RECURSE ${CMAKE_BINARY_DIR}/src/lean)
803
if(${STAGE} EQUAL 0)
804
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/../../src ${CMAKE_BINARY_DIR}/src/lean RESULT _IGNORE_RES SYMBOLIC)
805
else()
0 commit comments