summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_subdir.json
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_subdir.json')
-rw-r--r--Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_subdir.json58
1 files changed, 11 insertions, 47 deletions
diff --git a/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_subdir.json b/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_subdir.json
index 799c21eb53..12ec917e59 100644
--- a/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_subdir.json
+++ b/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/c_subdir.json
@@ -13,25 +13,13 @@
"compileGroupLanguage": "C",
"backtrace": [
{
- "file": "^codemodel-v2\\.cmake$",
- "line": 18,
- "command": "add_subdirectory",
- "hasParent": true
- },
- {
- "file": "^codemodel-v2\\.cmake$",
- "line": null,
- "command": null,
- "hasParent": true
- },
- {
- "file": "^CMakeLists\\.txt$",
- "line": 3,
- "command": "include",
+ "file": "^subdir/CMakeLists\\.txt$",
+ "line": 4,
+ "command": "target_sources",
"hasParent": true
},
{
- "file": "^CMakeLists\\.txt$",
+ "file": "^subdir/CMakeLists\\.txt$",
"line": null,
"command": null,
"hasParent": false
@@ -78,25 +66,13 @@
"define": "SUBDIR",
"backtrace": [
{
- "file": "^codemodel-v2\\.cmake$",
- "line": 18,
- "command": "add_subdirectory",
+ "file": "^subdir/CMakeLists\\.txt$",
+ "line": 1,
+ "command": "target_compile_definitions",
"hasParent": true
},
{
- "file": "^codemodel-v2\\.cmake$",
- "line": null,
- "command": null,
- "hasParent": true
- },
- {
- "file": "^CMakeLists\\.txt$",
- "line": 3,
- "command": "include",
- "hasParent": true
- },
- {
- "file": "^CMakeLists\\.txt$",
+ "file": "^subdir/CMakeLists\\.txt$",
"line": null,
"command": null,
"hasParent": false
@@ -153,25 +129,13 @@
"id": "^c_lib::@6890427a1f51a3e7e1df$",
"backtrace": [
{
- "file": "^codemodel-v2\\.cmake$",
- "line": 18,
- "command": "add_subdirectory",
- "hasParent": true
- },
- {
- "file": "^codemodel-v2\\.cmake$",
- "line": null,
- "command": null,
- "hasParent": true
- },
- {
- "file": "^CMakeLists\\.txt$",
+ "file": "^subdir/CMakeLists\\.txt$",
"line": 3,
- "command": "include",
+ "command": "target_link_libraries",
"hasParent": true
},
{
- "file": "^CMakeLists\\.txt$",
+ "file": "^subdir/CMakeLists\\.txt$",
"line": null,
"command": null,
"hasParent": false