File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,21 @@ if(LLDB_ENABLE_LUA)
30
30
set (lldb_lua_wrapper ${lua_bindings_dir} /LLDBWrapLua.cpp )
31
31
endif ()
32
32
33
- # Target to generate SBLanguages.h from Dwarf.def.
33
+ # Generate SBLanguages.h from Dwarf.def.
34
34
set (sb_languages_file
35
35
${CMAKE_CURRENT_BINARY_DIR} /../../include/lldb/API/SBLanguages.h )
36
- add_custom_target (
37
- lldb-sbapi-dwarf-enums
38
- "${Python3_EXECUTABLE} "
36
+ add_custom_command (
37
+ COMMENT "Generating SBLanguages.h from Dwarf.def"
38
+ COMMAND "${Python3_EXECUTABLE} "
39
39
${LLDB_SOURCE_DIR} /scripts/generate-sbapi-dwarf-enum.py
40
40
${LLVM_MAIN_INCLUDE_DIR} /llvm/BinaryFormat/Dwarf.def
41
41
-o ${sb_languages_file}
42
- BYPRODUCTS ${sb_languages_file}
42
+ OUTPUT ${sb_languages_file}
43
43
DEPENDS ${LLVM_MAIN_INCLUDE_DIR} /llvm/BinaryFormat/Dwarf.def
44
44
WORKING_DIRECTORY ${LLVM_LIBRARY_OUTPUT_INTDIR}
45
45
)
46
+ add_custom_target (lldb-sbapi-dwarf-enums
47
+ DEPENDS ${sb_languages_file} )
46
48
47
49
add_lldb_library (liblldb SHARED ${option_framework}
48
50
SBAddress.cpp
You can’t perform that action at this time.
0 commit comments