← Back to team overview

kicad-developers team mailing list archive

Re: Simulator towards 5.0

 

Oops, fixed version attached. Thank you for checking.

Regards,
Orson

On 12/07/2017 11:35 AM, Clemens Koller wrote:
> Hi!
> 
> FYI: Your patch also touches OPENGL_GAL::BitmapText()...
> 
> Regards,
> Clemens
> 
> On 2017-12-07 09:27, Maciej Sumiński wrote:
>> The attached patch lists options that have "KICAD" in their name when
>> calling CMake:
>>
>> -- Build configuration:
>> --     KICAD_BIN=bin
>> --     KICAD_BRANCH_NAME=
>> --     KICAD_DATA=share/kicad
>> --     KICAD_DEMOS=share/kicad/demos
>> --     KICAD_DOCS=share/doc/kicad
>> --     KICAD_INSTALL_DEMOS=ON
>> --     KICAD_LIB=lib64
>> --     KICAD_PLUGINS=lib64/kicad/plugins
>> --     KICAD_SCRIPTING=OFF
>> --     KICAD_SCRIPTING_ACTION_MENU=OFF
>> --     KICAD_SCRIPTING_MODULES=OFF
>> --     KICAD_SCRIPTING_WXPYTHON=OFF
>> --     KICAD_SPICE=OFF
>> --     KICAD_TEMPLATE=share/kicad/template
>> --     KICAD_USER_CONFIG_DIR=/home/orson
>> --     KICAD_USER_PLUGIN=lib64/kicad/plugins
>> --     KICAD_USE_OCE=OFF
>> --     KICAD_VERSION_EXTRA=
>>
>> Perhaps that would be sufficient to inform the user about the flags he
>> may change.
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

From 3cbdf914852e70e4ff7101e4e3ebb1fcf9ab36a2 Mon Sep 17 00:00:00 2001
From: Maciej Suminski <maciej.suminski@xxxxxxx>
Date: Thu, 7 Dec 2017 09:22:36 +0100
Subject: [PATCH] Display build configuration after invoking CMake

---
 CMakeLists.txt                   | 11 +++++++++++
 common/gal/opengl/opengl_gal.cpp | 21 +++++++++++++++------
 2 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c70a34237..97747771c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -849,3 +849,14 @@ if ( KICAD_INSTALL_DEMOS )
 add_subdirectory( demos )
 endif ( KICAD_INSTALL_DEMOS )
 add_subdirectory( template )
+
+
+message( STATUS "Build configuration:" )
+get_cmake_property( VAR_NAMES VARIABLES )
+foreach( VAR_NAME ${VAR_NAMES} )
+    string( FIND "${VAR_NAME}" "KICAD" KICAD_FOUND )
+
+    if( NOT ${KICAD_FOUND} EQUAL -1 )
+        message( STATUS "    ${VAR_NAME}=${${VAR_NAME}}" )
+    endif()
+endforeach()
-- 
2.13.3

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References