Commit Graph

597 Commits

Author SHA1 Message Date
Fabio Varesano 73fd4fb2ba add CMake rules to create an 'uninstall' make rule.
It follows the CMake wiki 
      
      http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
      
      and it should work if one
      compiles from the build directory (building all kicad).
      
      You can use it running the following commands from the kicad source
      tree root:
      mkdir build
      cd build
      cmake ../
      make
      (using root) make install
      (using root) make uninstall
2010-10-12 05:20:28 -05:00
Marco Serantoni ea812ef5c9 Zones drawing optimization with WXGrapchisContext + Fix bug #612132 2010-10-09 10:08:29 +02:00
jean-pierre charras 75b5c2474f Updated boost::polygon from http://svn.boost.org/svn/boost/trunk/boost/polygon (boost 1.44) Seems fix some issues. 2010-07-31 14:26:07 +02:00
Dick Hollenbeck 4eb80203bb ++eeschema:
* Now link with XML support within wxWidgets.
  * Start of export the generic netlist in XML.  Still need to rework the chain
    loaded netlist plugin.
  * OBJ_CMP_TO_LIST class now uses a std::string to hold the 8 bit string m_Ref,
    but hides this behind accessors which provide for both Unicode and 8 bit
    set and get functions.
  * build_BOM.cpp retains the selected filename on subsequent runs as a default.
  * Code cleaning, especially in build_BOM.cpp.
2010-07-30 16:41:55 -05:00
Dick Hollenbeck 3aabdd265a fix cmake warning 2010-07-28 07:11:55 -05:00
jean-pierre charras 68d652cd63 update changelog and CMakeLists.txt 2010-07-27 11:15:44 +02:00
Dick Hollenbeck 6eb66721c9 add doxygen-docs target to build system 2010-06-12 23:10:16 -05:00
jean-pierre charras ac11d86c2f Added an experimental tool to create logos from .bmp bitmaps. Added Potrace library to convert bitmaps to polygons 2010-06-10 20:43:12 +02:00
jean-pierre charras 0dddb72002 Set minimum cmake version to 2.6.4. Added footprint name edition in the module editor dialog properties. 2010-05-16 16:05:04 +02:00
jean-pierre charras b5a19ab953 Synchronize testing and stable version 2010-05-10 20:37:54 +02:00
jean-pierre charras 95fadd7ab8 Set Cmake version requirement to 2.8.0 (2.6.0 does not work with Eeschema Cmakefile) 2010-05-10 20:31:11 +02:00
Wayne Stambaugh 1c70230e0b Update version header generator CMake script to use Bazaar. 2010-04-21 08:25:16 -04:00
Dick Hollenbeck 916f231903 moved internat to 'docs' branch 2010-04-16 09:10:47 -05:00
dickelbeck 52dbb13c2f from Florian Delizy
This patch applies on the very last svn  (r2402) and removes all
disfunctionnal python code (including deletion of unused strings)
2010-02-28 13:44:29 +00:00
dickelbeck d176e98d94 patch from wafeliron@yahoo.com via pastbin.com 2010-02-12 23:12:00 +00:00
stambaughw 3066c70559 Implement wxDC coordinate handling and wxGCDC.
* Implement code to allow wxDC to handle coordinate conversions between
  device and drawing units.
* Add build settings to enable wxGCDC for wxGraphicsContext testing.
* Remove wxAUI conditional build cruft as it is now required to build
  Kicad.
* Fix scroll increment size regression to prevent jumping around the
  zoom center position.
* Add find GDI+ cmake module for building on WXMSW when wxGraphicsContext
  is enabled.
2010-02-08 18:15:42 +00:00
faa 3e838053aa new font does not demand -DKICAD_CYRILLIC 2010-02-02 07:18:40 +00:00
charras 323a62fee5 Fixed a problem with aui lib (now mandatory) in CMakeList.txt (could be not included at link time) 2010-01-26 11:05:30 +00:00
dickelbeck 98fab0b59e visibles work, update TODO.txt 2010-01-25 06:45:34 +00:00
charras 84d82cf2f5 pcbnew: Update Layer manager display when changing active layer (from hotkey or menus)
fixed minor problems and fixed Layer Alignment Target bug.
2010-01-23 10:50:05 +00:00
jerryjacobs cae96bceb1 Fixed aui component for other platform other than OSX, with wxwidgets 2.9 we dont need to define aui 2010-01-16 22:39:58 +00:00
jerryjacobs 30f6c51407 Application title spelling corrected on OSX 2010-01-16 22:32:26 +00:00
charras 6efce74c96 Eeschema: fixed bug when edit a component reference using the component dialog editor
Code cleaning and using DrawPanel->Refresh() instead of ReDraw() when possible.
2010-01-13 13:43:36 +00:00
charras fca4a7dd42 Uses a buffered DC in OnPaint event. Seems solve slow grid redraw on some PC. 2010-01-12 13:44:22 +00:00
charras 54b561236f Uses a buffered DC in OnPaint event. Seems solve slow grid redraw on some PC. 2010-01-12 13:15:13 +00:00
charras 6eda97fbdd fixed missing options -DKICAD_AUIMANAGER and -DKICAD_AUITOOLBAR in makefiles when using aui 2010-01-10 19:20:26 +00:00
dickelbeck 56995b3359 AUI support into topmost CMakeLists.txt 2009-11-05 08:52:41 +00:00
jerryjacobs 17dd0e2766 Big cleanup of sourcetree root structure, added Documentation subfolder, moved packaging stuff for osx and windows (nsis) to packaging. 2009-10-15 18:44:06 +00:00
charras bd9dd26163 change CMakeLists.txt to use boost headers in include/boost 2009-10-01 18:28:56 +00:00
charras 2b46b7d9a3 remove erroneous change in CMakeLisr.txt 2009-09-28 19:34:36 +00:00
charras fb3a12adc6 fixed typo and minor problems. updated German translation 2009-09-28 19:28:22 +00:00
stambaughw 3803b79ac5 Component library editor improvements, build fix, and bug fixes.
* Add offset and block hit testing to library component objects.
* Improved search for library entries.
* Fixed library component editor component removal and addition.
* Library editor now uses wxUpdateUIEvents for updating all UI objects.
* Added version check to cmake find boost macro.
* Removed unused code in file libalias.cpp.
* Added method to WinEDA_DrawPanel to take mouse out of managed mode.
2009-09-14 13:24:17 +00:00
f3nix 7fc9e5f177 Clean some CMakeLists.txt files. 2009-06-21 13:37:27 +00:00
faa 98267c43db correct path for mime in linux, add scripts in CMakeLists.txt 2009-06-02 19:18:09 +00:00
jerryjacobs 607054a04c Added support for mime installation in CMakeLists.txt 2009-06-02 13:51:57 +00:00
stambaughw 8bf7911125 Build improvements, compiler warning fixes and build fixes, and lots of clean up.
* Created separate SVN version header.
* Add true config.h for platform dependency checks.
* Add dependency check cmake module.
* Remove some leftover hand crafted make files.
* Remove non-cmake build instructions from COMPILING.txt.
* Fix split _() strings causing Visual C++ compiler error.
* Fix lots of compiler warnings.
* Change project file parameter container from wxArray to boost::vector_ptr.
* Removed lots of redundant header definitions.
* Fixed green_xpm redefinition in ercgreen.xpm.
* Remove some dead code and unnecessary class methods.
2009-05-21 17:42:42 +00:00
charras b49c2d2b9d code cleanup, remove multiline text option in eeschema (multiline text is a work in progress) and minor enhancements 2009-05-05 17:32:07 +00:00
faa bfb53744ff not build in linux 2008-12-20 08:14:33 +00:00
stambaughw bcbcdebf39 Fix wxWidgets library find order and SVN create version header bugs. 2008-12-02 15:39:20 +00:00
faa 8bed5053da cyrillic font support, russian GOST support 2008-11-05 11:41:15 +00:00
f3nix 422ffdabc1 CMake:
* Require CMake version 2.6.1 on Windows and version 2.6.0 for other systems.
* Update FindSubversion to version from CMake 2.6.1 (localization issue solved).
* Remove FindwxWidgetsCVS and use the default one (some issues solved upstream).
* Formatting style changes.
2008-09-07 19:32:07 +00:00
raburton 46f931b6ae allow build version to be set, while preserving program version
useful for creating a config.h via an extraction script that creates a source tar bundle
2008-08-29 14:06:19 +00:00
jerryjacobs 71e09566b1 Begin PNG icon set 2008-08-24 12:24:41 +00:00
jerryjacobs 867d30d159 Linux/Unix desktop files updated and moved to resources directory, about dialog updated 2008-08-17 10:10:20 +00:00
jerryjacobs 8fd4401e12 all-programs: about dialog improved 2008-08-15 16:38:05 +00:00
jerryjacobs 18b8932b50 Code comment clean, cmake file cleanup 2008-08-11 11:45:29 +00:00
charras 18f22a2b75 cleanup up and update files before stable release 2008-07-15 10:11:44 +00:00
f3nix c77e62eb90 Fix Windows build with CMake 2.4. 2008-06-21 08:55:39 +00:00
kintel c2d7a555c6 Mac OS X build system fixes 2008-06-15 16:31:32 +00:00
f3nix 6bb111cb8e CMake files cleaning. 2008-06-06 12:39:00 +00:00
charras 44743723d1 removed GPC library due to its unacceptable license. Using the great and powerfull kbool library insteed 2008-05-30 18:06:21 +00:00
dickelbeck 845e95c3e4 make and use static bitmaps library 2008-05-17 19:24:22 +00:00
f3nix 75bba55a38 CMake:
* Move svn version header creation to a macro (Unix-only for now).
* Use CVS version of FindSubversion macro.
2008-05-05 18:23:24 +00:00
stambaughw 994e4e5d7e Use Subversion to automatically generate date and version information when building with CMake. 2008-05-05 13:26:46 +00:00
f3nix 63de4115dc CMake:
* Add mingw_resource_compiler macro (Win32).
* Fix windres wxWidgets include paths (Win32).
2008-04-13 19:07:32 +00:00
f3nix 2c7eaa608b CMake: add check_find_package_result macro. 2008-04-13 14:00:01 +00:00
f3nix 3e06ab44db CMake cleanup. 2008-03-31 01:32:15 +00:00
charras 9e35d3ef1b refined the dialog_freeroute_exchange. See changelog 2008-03-20 21:32:25 +00:00
f3nix f1925912ce CMakeLists.txt formatting. 2008-03-19 18:05:19 +00:00
plyatov 6d17236b0d Added icon and "kicad.desktop" for Gnome/KDE menu. 2008-03-18 21:16:49 +00:00
f3nix bfc705ed20 Move list of useful CMake variables from CMakeLists.txt to how-to-build-kicad.txt 2008-03-12 09:18:51 +00:00
f3nix 07a0e142ed Lowercase CMake commands. 2008-03-11 15:57:54 +00:00
plyatov 7356d48388 Eliminated installation of *.po files. 2008-03-11 07:17:50 +00:00
plyatov d4b34ab362 install.txt was corrected.
demos installation added in CMakeLists.
Temporary problem with help appeared.
2008-03-05 07:16:43 +00:00
f3nix bbb131b2ea Small CMake fixes. 2008-03-05 00:49:34 +00:00
plyatov b2daea17bc KiCad librarys separated from KiCad source code to the trunk/kicad-library. 2008-03-04 20:54:18 +00:00
plyatov 0fb8f818ad docs->doc and help->doc/help relocation. DO NOT UPDATE YOU WORKING COPY UNTIL MY NOTEsvn st! Huge files will be relocated. 2008-03-04 17:14:58 +00:00
f3nix e92706bc3c Small CMake fixes. 2008-02-27 20:47:03 +00:00
stambaughw 803ebdf3c4 Fix escape key handling in annotate dialog and some eeschema code refactoring. 2008-02-27 19:38:16 +00:00
f3nix a9ff3f965c Small CMake cleanup. 2008-02-19 04:30:17 +00:00
lifekidyeaa c5cd85027b 2008-Feb-12 UPDATE Tim Hanson sideskate@gmail.com
================================================================================
+eeschema
        * commiting my changes to allow multiple instances of a given schematic file within 
a hierarchy:
        ** internally, m_currentScreen has been replaced with m_currentSheet,
                which is a list or 'path' of screens.  The path of screens is used to 
generate
                a series of timestamps, which is converted to flat component reference via 
a look-up
                table in the schematic files.
        ** this means that m_currentScreen is no longer used -- use GetScreen().
        ** GetScreen is virtual, as some of the dialogs keep around a WinEDA_BaseScreen 
pointer.
        ** all sub-sheets in a given schematic must have different names to generate a 
meaningful netlist.
2008-02-12 21:12:46 +00:00
f3nix 47e7d24f45 Fix win32 "filename.ico not found" error. 2008-02-06 20:36:44 +00:00
f3nix af1c15646f CMake:
* Change tabs to spaces.
* Make Boost required.
2008-01-30 09:42:19 +00:00
dickelbeck 6ab5ad27f5 Wayne Stambaugh's patch which allows infospgm.cpp to be compiled once rather than for each program 2008-01-28 05:49:15 +00:00
f3nix ba3b2934ef CMake. Add comment about static/shared. 2008-01-06 21:56:45 +00:00
f3nix 338e0db75a Debug build should be easier now. See how-to-build-kicad.txt. Tested on linux only. 2008-01-06 12:03:13 +00:00
raburton 8777ab79e0 The install prefix couldn't be overridden on the command line, the SET overrode any value you specified. Adding the cache keyword to SET seems to have fixed it though. Is this a cmake bug? 2008-01-06 10:05:15 +00:00
raburton 32b4d32bef Make building minizip optional, if your linux distro supplies a minizip binary (e.g. in the zlib-bin package on debian) you might as well use it instead of building this one.
Note that this isn't implemented in the minizip CMakeLists.txt, but at the higher level (kicad) that includes the minizip subdirectory, so that the whole minizip directory can be dropped from the shipped source tree if it isn't needed on your distro. This makes the source package a fraction smaller and removes possible complications of having a different license on the minizip code to the rest of kicad.
2008-01-05 19:16:30 +00:00
f3nix 95565cda3e Some small CMake fixes. 2008-01-05 13:47:52 +00:00
f3nix cbea44a663 * Fix CMake build.
* Add polygon library.
2007-12-30 03:30:34 +00:00
f3nix cda4ed9659 Some tweaks for Windows CMake. 2007-12-26 03:48:17 +00:00
f3nix 61ebbd58f8 Small CMake cleanup. 2007-12-25 20:48:58 +00:00
dickelbeck a7d68dd5fb added boost checking 2007-12-23 06:30:05 +00:00
dickelbeck 315850fa6d Added and tested Windows support 2007-12-20 00:55:04 +00:00
dickelbeck 57a2791bc8 removed __WXDEBUG__ for debug compiles. Instead, edit the CMakeCache.txt file and append --debug to the wx-config command line 2007-12-11 21:40:10 +00:00
dickelbeck 63b2a1fed5 added __WXDEBUG__ for debug compiles 2007-12-11 21:02:05 +00:00
f3nix 4fd9325f6d Some small CMake fixes. 2007-12-02 13:56:03 +00:00
plyatov 2a1843c3a9 Increased required version of CMake to 2.4.6, because I have a troubles with CMake 2.4.3 and don't have it with CMake 2.4.6. 2007-11-16 16:25:27 +00:00
f3nix 89a872b86e Add CMakeLists.txt for the help files. 2007-11-09 22:15:22 +00:00
f3nix efe7edf2f1 CMake:
- Fix minizip build.
- Fix eeschema/plugins build.
- Update TODO.
2007-11-09 21:45:26 +00:00
plyatov b55b0abbb8 Comments corrected in the root CMakeLists.txt. 2007-11-08 21:03:58 +00:00
plyatov f6b8194dec Comments added in to the root CMakeLists.txt. 2007-11-08 20:38:30 +00:00
f3nix 7a65708459 CMake build: preliminary support for install targets under linux. 2007-11-08 12:46:02 +00:00
f3nix 8c6f6facff CMake build: replace deprecated commands. 2007-11-08 10:13:59 +00:00
f3nix 9307b49eec CMake build system for all apps. Usage in install.txt 2007-11-08 07:17:37 +00:00
plyatov 6e9097b402 CMake enhancements. 2007-11-07 21:35:18 +00:00
plyatov 77cb86a1ea Draft files for CMake build system support 2007-11-07 16:18:24 +00:00