The problem is the way how the string for the target is created. It takes the path and replaces "." and "/" by an underscore. This works fine under unix like systems but not with windows. The problem is the colon in the path. I fixed it by adding it to the regexp.
The problem is the way how the string for the target is created. It takes the path and replaces "." and "/" by an underscore. This works fine under unix like systems but not with windows. The problem is the colon in the path. I fixed it by adding it to the regexp.
--- src/CMakeLists.txt
+++ src/CMakeLists.txt
@@ -24,7 +24,7 @@
if (CMAKE_BUILD_TYPE STREQUAL Debug) sourcefile ${WL_SRCS} ${WL_TEST_SRCS}) filename_ component( sourcename ${sourcefile} NAME) }_codecheck_ stamp_) PREFIX_ WL_SRCS ${PREFIX_ WL_SRCS} ;${CMAKE_ CURRENT_ BINARY_ DIR}/codecheck- stamps/ ${stamp} )
foreach(
- string(REGEX REPLACE "\\.|\\/" "_" sourcenoslash ${sourcefile})
+ string(REGEX REPLACE "\\.|\\/|:" "_" sourcenoslash ${sourcefile})
get_
set(stamp ${sourcenoslash
set(