summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-11-28 20:28:37 +0100
committerxengineering <me@xengineering.eu>2024-11-28 20:28:37 +0100
commitab0449005c357126907f56ebf4512d53351544ef (patch)
treea7b4f5205cb4dc544c637ef8d7e409feb36bea2d /CMakeLists.txt
parent7ec4c99cc17e47657d1b66063a54e68dc1f37a6b (diff)
downloadgraphics-inkscape-ab0449005c357126907f56ebf4512d53351544ef.tar
graphics-inkscape-ab0449005c357126907f56ebf4512d53351544ef.tar.zst
graphics-inkscape-ab0449005c357126907f56ebf4512d53351544ef.zip
Add folder per file type in build directory
The intended hierarchy for the build tree is: 1. Art type (icon or something different) 2. File type (pdf, svg, png) 3. Dimensions (based on pixels or mm) [not yet implemented]
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fd4bb85..aa37a4e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@ set(formats
foreach(icon ${icons})
foreach(format ${formats})
set(source "${CMAKE_CURRENT_SOURCE_DIR}/icons/${icon}.svg")
- set(sink "${CMAKE_CURRENT_BINARY_DIR}/icons/${icon}.${format}")
+ set(sink "${CMAKE_CURRENT_BINARY_DIR}/icons/${format}/${icon}.${format}")
add_custom_command(
OUTPUT
${sink}