Clean some CMakeLists.txt files.
This commit is contained in:
parent
59b440fe7b
commit
7fc9e5f177
|
@ -189,45 +189,43 @@ install(FILES freeroute.jnlp
|
||||||
# Install scripts
|
# Install scripts
|
||||||
###
|
###
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
install(DIRECTORY scripts
|
install(DIRECTORY scripts
|
||||||
DESTINATION ${KICAD_DOCS}
|
DESTINATION ${KICAD_DOCS}
|
||||||
COMPONENT resources
|
COMPONENT resources
|
||||||
PATTERN ".svn" EXCLUDE)
|
PATTERN ".svn" EXCLUDE)
|
||||||
endif(UNIX)
|
endif(UNIX)
|
||||||
###
|
###
|
||||||
# FreeDesktop .desktop and MIME resources
|
# FreeDesktop .desktop and MIME resources
|
||||||
###
|
###
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
|
# Set paths
|
||||||
# Set paths
|
set(UNIX_MIME_DIR resources/linux/mime)
|
||||||
set(UNIX_MIME_DIR resources/linux/mime)
|
set(UNIX_MIMELNK_FILES ${UNIX_MIME_DIR}/mimelnk)
|
||||||
set(UNIX_MIMELNK_FILES ${UNIX_MIME_DIR}/mimelnk)
|
set(UNIX_MIME_FILES ${UNIX_MIME_DIR}/mime)
|
||||||
set(UNIX_MIME_FILES ${UNIX_MIME_DIR}/mime)
|
set(UNIX_ICONS_FILES ${UNIX_MIME_DIR}/icons)
|
||||||
set(UNIX_ICONS_FILES ${UNIX_MIME_DIR}/icons)
|
set(UNIX_APPLICATIONS_FILES ${UNIX_MIME_DIR}/applications)
|
||||||
set(UNIX_APPLICATIONS_FILES ${UNIX_MIME_DIR}/applications)
|
|
||||||
|
|
||||||
# Install Mimelnk directory
|
# Install Mimelnk directory
|
||||||
install(DIRECTORY ${UNIX_MIMELNK_FILES}
|
install(DIRECTORY ${UNIX_MIMELNK_FILES}
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
||||||
COMPONENT resources
|
COMPONENT resources
|
||||||
PATTERN ".svn" EXCLUDE)
|
PATTERN ".svn" EXCLUDE)
|
||||||
|
|
||||||
# Install Mime directory
|
# Install Mime directory
|
||||||
install(DIRECTORY ${UNIX_ICONS_FILES}
|
install(DIRECTORY ${UNIX_ICONS_FILES}
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
||||||
COMPONENT resources
|
COMPONENT resources
|
||||||
PATTERN ".svn" EXCLUDE)
|
PATTERN ".svn" EXCLUDE)
|
||||||
|
|
||||||
# Install Icons
|
# Install Icons
|
||||||
install(DIRECTORY ${UNIX_MIME_FILES}
|
install(DIRECTORY ${UNIX_MIME_FILES}
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
||||||
COMPONENT resources
|
COMPONENT resources
|
||||||
PATTERN ".svn" EXCLUDE)
|
PATTERN ".svn" EXCLUDE)
|
||||||
|
|
||||||
# Install Applications directory (.desktop files)
|
|
||||||
install(DIRECTORY ${UNIX_APPLICATIONS_FILES}
|
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
|
||||||
COMPONENT resources
|
|
||||||
PATTERN ".svn" EXCLUDE)
|
|
||||||
|
|
||||||
|
# Install Applications directory (.desktop files)
|
||||||
|
install(DIRECTORY ${UNIX_APPLICATIONS_FILES}
|
||||||
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
||||||
|
COMPONENT resources
|
||||||
|
PATTERN ".svn" EXCLUDE)
|
||||||
endif(UNIX)
|
endif(UNIX)
|
||||||
|
|
|
@ -16,8 +16,8 @@ set(COMMON_SRCS
|
||||||
common_plot_functions.cpp
|
common_plot_functions.cpp
|
||||||
common_plotHPGL_functions.cpp
|
common_plotHPGL_functions.cpp
|
||||||
common_plotPS_functions.cpp
|
common_plotPS_functions.cpp
|
||||||
common_plotGERBER_functions.cpp
|
common_plotGERBER_functions.cpp
|
||||||
confirm.cpp
|
confirm.cpp
|
||||||
copy_to_clipboard.cpp
|
copy_to_clipboard.cpp
|
||||||
dcsvg.cpp
|
dcsvg.cpp
|
||||||
displlst.cpp
|
displlst.cpp
|
||||||
|
|
|
@ -36,9 +36,9 @@ set(EESCHEMA_SRCS
|
||||||
delete.cpp
|
delete.cpp
|
||||||
delsheet.cpp
|
delsheet.cpp
|
||||||
# dialog_backanno.cpp
|
# dialog_backanno.cpp
|
||||||
dialog_bodygraphictext_properties_base.cpp
|
dialog_bodygraphictext_properties_base.cpp
|
||||||
dialog_build_BOM.cpp
|
dialog_build_BOM.cpp
|
||||||
dialog_build_BOM_base.cpp
|
dialog_build_BOM_base.cpp
|
||||||
# dialog_cmp_graphic_properties.cpp
|
# dialog_cmp_graphic_properties.cpp
|
||||||
dialog_create_component.cpp
|
dialog_create_component.cpp
|
||||||
# dialog_edit_component_in_lib.cpp
|
# dialog_edit_component_in_lib.cpp
|
||||||
|
@ -53,7 +53,7 @@ set(EESCHEMA_SRCS
|
||||||
dialog_erc.cpp
|
dialog_erc.cpp
|
||||||
# dialog_find.cpp
|
# dialog_find.cpp
|
||||||
dialog_options.cpp
|
dialog_options.cpp
|
||||||
dialog_print_using_printer_base.cpp
|
dialog_print_using_printer_base.cpp
|
||||||
dialog_print_using_printer.cpp
|
dialog_print_using_printer.cpp
|
||||||
dialog_SVG_print.cpp
|
dialog_SVG_print.cpp
|
||||||
dialog_SVG_print_base.cpp
|
dialog_SVG_print_base.cpp
|
||||||
|
|
|
@ -34,22 +34,22 @@ set(PCBNEW_SRCS
|
||||||
dialog_copper_zones_base.cpp
|
dialog_copper_zones_base.cpp
|
||||||
dialog_display_options.cpp
|
dialog_display_options.cpp
|
||||||
dialog_display_options_base.cpp
|
dialog_display_options_base.cpp
|
||||||
dialog_drc_base.cpp
|
dialog_drc_base.cpp
|
||||||
dialog_drc.cpp
|
dialog_drc.cpp
|
||||||
dialog_edit_module_text.cpp
|
dialog_edit_module_text.cpp
|
||||||
dialog_edit_module_text_base.cpp
|
dialog_edit_module_text_base.cpp
|
||||||
dialog_edit_module.cpp
|
dialog_edit_module.cpp
|
||||||
dialog_exchange_modules_base.cpp
|
dialog_exchange_modules_base.cpp
|
||||||
dialog_freeroute_exchange.cpp
|
dialog_freeroute_exchange.cpp
|
||||||
# dialog_gendrill.cpp
|
# dialog_gendrill.cpp
|
||||||
dialog_general_options.cpp
|
dialog_general_options.cpp
|
||||||
dialog_general_options_BoardEditor_base.cpp
|
dialog_general_options_BoardEditor_base.cpp
|
||||||
# dialog_graphic_items_options.cpp
|
# dialog_graphic_items_options.cpp
|
||||||
dialog_graphic_item_properties.cpp
|
dialog_graphic_item_properties.cpp
|
||||||
dialog_graphic_item_properties_base.cpp
|
dialog_graphic_item_properties_base.cpp
|
||||||
# dialog_initpcb.cpp
|
# dialog_initpcb.cpp
|
||||||
dialog_netlist.cpp
|
dialog_netlist.cpp
|
||||||
dialog_netlist_fbp.cpp
|
dialog_netlist_fbp.cpp
|
||||||
dialog_pcb_text_properties.cpp
|
dialog_pcb_text_properties.cpp
|
||||||
zones_non_copper_type_functions.cpp
|
zones_non_copper_type_functions.cpp
|
||||||
dialog_non_copper_zones_properties_base.cpp
|
dialog_non_copper_zones_properties_base.cpp
|
||||||
|
@ -74,7 +74,7 @@ set(PCBNEW_SRCS
|
||||||
editmod.cpp
|
editmod.cpp
|
||||||
editrack.cpp
|
editrack.cpp
|
||||||
editrack-part2.cpp
|
editrack-part2.cpp
|
||||||
edit_pcb_text.cpp
|
edit_pcb_text.cpp
|
||||||
edit_track_width.cpp
|
edit_track_width.cpp
|
||||||
edtxtmod.cpp
|
edtxtmod.cpp
|
||||||
export_gencad.cpp
|
export_gencad.cpp
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
IF(WIN32)
|
if(WIN32)
|
||||||
ADD_DEFINITIONS( -D_MSWVC_ )
|
add_definitions(-D_MSWVC_)
|
||||||
ELSE(WIN32)
|
else(WIN32)
|
||||||
ADD_DEFINITIONS( -D__UNIX__ )
|
add_definitions(-D__UNIX__)
|
||||||
ENDIF(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
|
|
||||||
include_directories(../include)
|
include_directories(../include)
|
||||||
|
|
Loading…
Reference in New Issue