kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #31294
Re: [RFC] pcbnew internals refactoring for testing
On 02/11/17 18:10, Simon Richter wrote:
> Hi,
>
> On 02.11.2017 17:20, Simon Richter wrote:
>
>> I've tried an msys2 build[1], and the qa project failed due to a missing
>> config.h. Did you forget to check it in, or is there a dependency
>> missing (I've built with -j40)?
>
> FWIW, same error on Linux with -j8.
>
Hi Simon,
Thanks for testing. Could you try applying the attached patch?
Cheers,
Tom
From bbe1914850c2e6e0dc0bd3f33668a8683cdbbed7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomasz=20W=C5=82ostowski?= <tomasz.wlostowski@xxxxxxx>
Date: Thu, 2 Nov 2017 18:15:34 +0100
Subject: [PATCH] fixed missing config.h error
---
qa/pcb_test_window/CMakeLists.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/qa/pcb_test_window/CMakeLists.txt b/qa/pcb_test_window/CMakeLists.txt
index 74b3593..4097876 100644
--- a/qa/pcb_test_window/CMakeLists.txt
+++ b/qa/pcb_test_window/CMakeLists.txt
@@ -39,6 +39,8 @@ add_executable(test_window
../../pcbnew/tools/outline_editor.cpp
)
+include_directories(BEFORE ${INC_BEFORE})
+
include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/include
@@ -54,6 +56,10 @@ include_directories(
${Boost_INCLUDE_DIR}
)
+include_directories(
+ ${INC_AFTER}
+ )
+
target_link_libraries( test_window
polygon
pnsrouter
--
2.7.4
Follow ups
References