Commit 2afb9cb9 authored by dickelbeck's avatar dickelbeck

new source files

parent 10c59019
...@@ -3,166 +3,166 @@ ADD_DEFINITIONS(-DPCBNEW) ...@@ -3,166 +3,166 @@ ADD_DEFINITIONS(-DPCBNEW)
FIND_PACKAGE(Boost) FIND_PACKAGE(Boost)
INCLUDE_DIRECTORIES( INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
${Boost_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}
bitmaps bitmaps
../3d-viewer ../3d-viewer
../polygon) ../polygon)
# Many of the commented out ones are nested in *.cpp files for dialogs # Many of the commented out ones are nested in *.cpp files for dialogs
SET(PCBNEW_SRCS SET(PCBNEW_SRCS
affiche.cpp affiche.cpp
attribut.cpp attribut.cpp
automove.cpp automove.cpp
autoplac.cpp autoplac.cpp
autorout.cpp autorout.cpp
basepcbframe.cpp basepcbframe.cpp
block.cpp block.cpp
block_module_editor.cpp block_module_editor.cpp
board.cpp board.cpp
class_board.cpp class_board.cpp
class_board_item.cpp class_board_item.cpp
class_cotation.cpp class_cotation.cpp
class_drawsegment.cpp class_drawsegment.cpp
class_drc_item.cpp class_drc_item.cpp
class_edge_mod.cpp class_edge_mod.cpp
class_equipot.cpp class_equipot.cpp
class_marker.cpp class_marker.cpp
class_mire.cpp class_mire.cpp
class_module.cpp class_module.cpp
class_pad.cpp class_pad.cpp
classpcb.cpp classpcb.cpp
class_pcb_text.cpp class_pcb_text.cpp
class_text_mod.cpp class_text_mod.cpp
class_track.cpp class_track.cpp
class_zone.cpp class_zone.cpp
clean.cpp clean.cpp
# cleaningoptions_dialog.cpp # cleaningoptions_dialog.cpp
collectors.cpp collectors.cpp
connect.cpp connect.cpp
controle.cpp controle.cpp
copy_track.cpp copy_track.cpp
cotation.cpp cotation.cpp
cross-probing.cpp cross-probing.cpp
deltrack.cpp deltrack.cpp
# dialog_display_options.cpp # dialog_display_options.cpp
# dialog_drc.cpp # dialog_drc.cpp
dialog_edit_mod_text.cpp dialog_edit_mod_text.cpp
# dialog_edit_module.cpp # dialog_edit_module.cpp
dialog_general_options.cpp dialog_general_options.cpp
# dialog_graphic_items_options.cpp # dialog_graphic_items_options.cpp
# dialog_initpcb.cpp # dialog_initpcb.cpp
# dialog_netlist.cpp # dialog_netlist.cpp
# dialog_pad_edit.cpp # dialog_pad_edit.cpp
dialog_setup_libs.cpp dialog_setup_libs.cpp
# dialog_track_options.cpp # dialog_track_options.cpp
# dialog_zones_by_polygon.cpp # dialog_zones_by_polygon.cpp
dist.cpp dist.cpp
# docedit.cpp <-- not used # docedit.cpp <-- not used
dragsegm.cpp dragsegm.cpp
drc.cpp drc.cpp
# dsn.cpp # dsn.cpp
edgemod.cpp edgemod.cpp
edit.cpp edit.cpp
editedge.cpp editedge.cpp
editmod.cpp editmod.cpp
editpads.cpp editpads.cpp
editrack.cpp editrack.cpp
editrack-part2.cpp editrack-part2.cpp
# editrout.cpp <-- not used # editrout.cpp <-- not used
edit_track_width.cpp edit_track_width.cpp
edtxtmod.cpp edtxtmod.cpp
export_gencad.cpp export_gencad.cpp
files.cpp files.cpp
find.cpp find.cpp
gen_drill_report_files.cpp gen_drill_report_files.cpp
gen_holes_and_tools_lists_for_drill.cpp gen_holes_and_tools_lists_for_drill.cpp
gen_modules_placefile.cpp gen_modules_placefile.cpp
gendrill.cpp gendrill.cpp
globaleditpad.cpp globaleditpad.cpp
graphpcb.cpp graphpcb.cpp
hotkeys.cpp hotkeys.cpp
initpcb.cpp initpcb.cpp
ioascii.cpp ioascii.cpp
lay2plot.cpp lay2plot.cpp
librairi.cpp librairi.cpp
loadcmp.cpp loadcmp.cpp
locate.cpp locate.cpp
menubarmodedit.cpp menubarmodedit.cpp
menubarpcb.cpp menubarpcb.cpp
mirepcb.cpp mirepcb.cpp
modedit.cpp modedit.cpp
modedit_onclick.cpp modedit_onclick.cpp
modeditoptions.cpp modeditoptions.cpp
modedit_undo_redo.cpp modedit_undo_redo.cpp
moduleframe.cpp moduleframe.cpp
modules.cpp modules.cpp
# move_copy_track.cpp <-- not used # move_copy_track.cpp <-- not used
move-drag_pads.cpp move-drag_pads.cpp
move_or_drag_track.cpp move_or_drag_track.cpp
muonde.cpp muonde.cpp
muwave_command.cpp muwave_command.cpp
netlist.cpp netlist.cpp
onleftclick.cpp onleftclick.cpp
onrightclick.cpp onrightclick.cpp
pcbcfg.cpp pcbcfg.cpp
pcbframe.cpp pcbframe.cpp
pcbnew.cpp pcbnew.cpp
pcbplot.cpp pcbplot.cpp
pcbtexte.cpp pcbtexte.cpp
plotgerb.cpp plotgerb.cpp
plothpgl.cpp plothpgl.cpp
plotps.cpp plotps.cpp
plot_rtn.cpp plot_rtn.cpp
queue.cpp queue.cpp
ratsnest.cpp ratsnest.cpp
router.cpp router.cpp
sel_layer.cpp sel_layer.cpp
set_color.cpp set_color.cpp
set_grid.cpp set_grid.cpp
solve.cpp solve.cpp
# specctra.cpp # specctra.cpp
surbrill.cpp surbrill.cpp
swap_layers.cpp swap_layers.cpp
tool_modedit.cpp tool_modedit.cpp
tool_onrightclick.cpp tool_onrightclick.cpp
tool_pcb.cpp tool_pcb.cpp
tracemod.cpp tracemod.cpp
tracepcb.cpp tracepcb.cpp
track.cpp track.cpp
tr_modif.cpp tr_modif.cpp
trpiste.cpp trpiste.cpp
undelete.cpp undelete.cpp
via_edit.cpp via_edit.cpp
work.cpp work.cpp
xchgmod.cpp xchgmod.cpp
zone_filling_algorithm.cpp zone_filling_algorithm.cpp
zones_by_polygon.cpp zones_by_polygon.cpp
# zones.cpp # zones.cpp
zones_test_and_combine_areas.cpp) zones_test_and_combine_areas.cpp)
SET(PCBNEW_EXTRA_SRCS SET(PCBNEW_EXTRA_SRCS
../share/drawframe.cpp ../share/drawframe.cpp
../share/drawpanel.cpp ../share/drawpanel.cpp
../share/infospgm.cpp ../share/infospgm.cpp
../share/setpage.cpp ../share/setpage.cpp
../share/wxprint.cpp ../share/wxprint.cpp
../share/zoom.cpp) ../share/zoom.cpp)
IF(WIN32) IF(WIN32)
IF(MINGW) IF(MINGW)
# resource compilation for mingw (http://www.cmake.org/Bug/view.php?id=4068) # resource compilation for mingw (http://www.cmake.org/Bug/view.php?id=4068)
ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/pcbnew_rc.o ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/pcbnew_rc.o
COMMAND windres.exe -I ${CMAKE_CURRENT_SOURCE_DIR} COMMAND windres.exe -I ${CMAKE_CURRENT_SOURCE_DIR}
-i ${CMAKE_CURRENT_SOURCE_DIR}/pcbnew.rc -i ${CMAKE_CURRENT_SOURCE_DIR}/pcbnew.rc
-o ${CMAKE_CURRENT_BINARY_DIR}/pcbnew_rc.o) -o ${CMAKE_CURRENT_BINARY_DIR}/pcbnew_rc.o)
SET(PCBNEW_RESOURCES ${CMAKE_CURRENT_BINARY_DIR}/pcbnew_rc.o) SET(PCBNEW_RESOURCES ${CMAKE_CURRENT_BINARY_DIR}/pcbnew_rc.o)
ELSE(MINGW) ELSE(MINGW)
SET(PCBNEW_RESOURCES pcbnew.rc) SET(PCBNEW_RESOURCES pcbnew.rc)
ENDIF(MINGW) ENDIF(MINGW)
ENDIF(WIN32) ENDIF(WIN32)
IF(APPLE) IF(APPLE)
SET(PCBNEW_RESOURCES pcbnew.r) SET(PCBNEW_RESOURCES pcbnew.r)
ENDIF(APPLE) ENDIF(APPLE)
ADD_EXECUTABLE(pcbnew WIN32 MACOSX_BUNDLE ${PCBNEW_SRCS} ${PCBNEW_EXTRA_SRCS} ${PCBNEW_RESOURCES}) ADD_EXECUTABLE(pcbnew WIN32 MACOSX_BUNDLE ${PCBNEW_SRCS} ${PCBNEW_EXTRA_SRCS} ${PCBNEW_RESOURCES})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment