Skip to content

Fails to run when directory has + in its name #61

@TheSunCat

Description

@TheSunCat

Hi! I love this tool, but I ran into an issue when someone tried to compile a program:

cmkr fails to run when the path to the directory it's in has a + in its name, with the following error:

RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.

CMake Error at cmkr.cmake:53 (if):
  if given arguments:

    "NOT" "CMKR_CACHED_EXECUTABLE" "STREQUAL" "CMKR_EXECUTABLE" "AND" "CMKR_EXECUTABLE" "MATCHES" "^/home/apm/Documents/C++/ReverseAbductionSimulator/build/_cmkr"

  Regular expression "^/home/apm/Documents/C++/ReverseAbductionSimulator/build/_cmkr" cannot compile
Call Stack (most recent call first):
  CMakeLists.txt:12 (include)


-- Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions