From 357be83539def82f68de60b4f2a56758294e7f81 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 26 Jun 2017 14:14:07 +0200 Subject: 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. --- cmake/kicad_gerber.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'cmake') 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}") -- cgit v1.2.3