https://bugs.kde.org/show_bug.cgi?id=443337

            Bug ID: 443337
           Summary: binary with space is bugged on linux host
           Product: Heaptrack
           Version: 1.3.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Why building test, the `binary with spaces` fails with cmake error:

tests/manual/with space/CMakeFiles/my binary.dir/build.make:87: *** missing
separator. Stop.

```
The problem originates in the binary name `my binary` with leads to space being
interpreted by `make` as separator instead of character in target name.
```

excerpt form `my binary.dir/build.make:87`

```
# Object files for target my_binary                                            
                                                                               
           my_binary_OBJECTS = \                                               
                                                                               
                      "CMakeFiles/my_binary.dir/my_binary.cpp.o"
```

Changing the name to `my_binary` in tests/manual/with\ space/CMakeLists.txt`
resolves the issue:

https://github.com/KDE/heaptrack/blob/3e7405e6b83ea79bfaa7a1135d2cede2021394ae/tests/manual/with%20space/CMakeLists.txt#L1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to