~andrew-plumb/kicad/kicad

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: jean-pierre charras
  • Date: 2013-10-11 16:24:43 UTC
  • Revision ID: jp.charras@wanadoo.fr-20131011162443-1uqzbg1yogv1c4n0
Remove wxUSE_UNICODE definition from CMakeLists.txt, because this define comes from wxWidgets and should not be made inside kicad
Remove KICAD_GOST option because it is  now useless: the 2 GOST options are now selectable at run time and are:
* specific page layouts (now user definable, and the GOST page layouts are available in template folder)
* notation for multiple parts per package (made in eeschema, preference menu)

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# reports.
15
15
#
16
16
 
17
 
# Russian GOST patch
18
 
option( wxUSE_UNICODE "enable/disable building unicode ( default OFF)" )
19
 
option( KICAD_GOST "enable/disable building using GOST notation for multiple gates per package ( default OFF)" )
20
 
 
21
17
#for those who bored with uppercase
22
18
option( KICAD_KEEPCASE "turn-off automatic component name conversion to uppercase if selected" )
23
19
 
155
151
 
156
152
endif( CMAKE_COMPILER_IS_GNUCXX )
157
153
 
158
 
if( wxUSE_UNICODE )
159
 
    add_definitions( -DwxUSE_UNICODE )
160
 
endif()
161
 
 
162
 
if( KICAD_GOST )
163
 
    add_definitions( -DKICAD_GOST )
164
 
endif()
165
 
 
166
154
if( KICAD_KEEPCASE )
167
155
    add_definitions( -DKICAD_KEEPCASE )
168
156
endif()