Skip to content

Commit 854e881

Browse files
test(relative-paths): Remove inlined CMake from cmake.toml
1 parent 1c2947b commit 854e881

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/relative-paths/cmake.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@ name = "relative-paths"
44
[target.test-library]
55
type = "static"
66
sources = ["src/library-code.cpp"]
7-
cmake-after = """
8-
set(TEST_LIBRARY_TARGET_NAME ${CMKR_TARGET})
9-
set(LIBRARIES_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/libs")
10-
add_custom_command(
11-
TARGET ${CMKR_TARGET} POST_BUILD
12-
COMMAND mkdir "${LIBRARIES_OUTPUT_DIRECTORY}"
13-
COMMAND ${CMAKE_COMMAND} -E copy "$<TARGET_FILE:${CMKR_TARGET}>" "${LIBRARIES_OUTPUT_DIRECTORY}/test-library-file.lib"
14-
VERBATIM
15-
)
16-
"""
177

188
[target.example]
199
type = "executable"

0 commit comments

Comments
 (0)