aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-06-26 14:14:07 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-06-26 14:14:07 +0200
commit357be83539def82f68de60b4f2a56758294e7f81 (patch)
tree7f4ad882d4b44b2b77af0f5cbd7a5d3fb3db5309 /cmake
parentfbea07e9d2d76f3f7f53d794a2b3da73949e4ace (diff)
downloadkicad-utils-357be83539def82f68de60b4f2a56758294e7f81.tar.gz
kicad-utils-357be83539def82f68de60b4f2a56758294e7f81.tar.bz2
kicad-utils-357be83539def82f68de60b4f2a56758294e7f81.tar.xz
kicad-utils-357be83539def82f68de60b4f2a56758294e7f81.zip
o Sorting Gerber outputs list
This will most likely make the Zip file's contents sorted too, which in turns yields consistent files across runs.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/kicad_gerber.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/kicad_gerber.cmake b/cmake/kicad_gerber.cmake
index 580fa10..5391414 100644
--- a/cmake/kicad_gerber.cmake
+++ b/cmake/kicad_gerber.cmake
@@ -55,6 +55,7 @@ function(kicad_gerber)
RESULT_VARIABLE res)
file(STRINGS ${CMAKE_CURRENT_BINARY_DIR}/${target}-gerber-index.txt outputs)
+ list(SORT outputs)
if (NOT res EQUAL 0)
message(SEND_ERROR "kicad_gerber.py failed: ${out} ${err}")