Skip to content

Commit a2c9fef

Browse files
committed
Get directory listing for diag
1 parent b62d5d3 commit a2c9fef

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

llvm/CMakeLists.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
cmake_minimum_required(VERSION 3.20.0)
44

5+
message("Directory listing:")
6+
if (WIN32)
7+
execute_process(
8+
COMMAND_ECHO STDERR
9+
COMMAND cmd /k dir /S
10+
COMMAND ls -haltrR
11+
)
12+
else ()
13+
execute_process(
14+
COMMAND_ECHO STDERR
15+
COMMAND ls -haltrR
16+
)
17+
endif ()
18+
message("END Directory listing")
19+
520
include(CMakeDependentOption)
621

722
set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)

0 commit comments

Comments
 (0)