CMakeLists.txt formatting.
This commit is contained in:
parent
357bb9699f
commit
f1925912ce
|
@ -38,7 +38,7 @@ if(UNIX)
|
||||||
# When used later, "bin" and others with no leading / is relative to CMAKE_INSTALL_PREFIX.
|
# When used later, "bin" and others with no leading / is relative to CMAKE_INSTALL_PREFIX.
|
||||||
set(KICAD_PLUGINS lib/kicad/plugins CACHE PATH "Location of KiCad plugins.")
|
set(KICAD_PLUGINS lib/kicad/plugins CACHE PATH "Location of KiCad plugins.")
|
||||||
set(KICAD_DATA share/kicad CACHE PATH "Location of KiCad data files.")
|
set(KICAD_DATA share/kicad CACHE PATH "Location of KiCad data files.")
|
||||||
SET(KICAD_DOCS share/doc/kicad CACHE PATH "Location of KiCad documentation files.")
|
set(KICAD_DOCS share/doc/kicad CACHE PATH "Location of KiCad documentation files.")
|
||||||
endif(APPLE)
|
endif(APPLE)
|
||||||
endif(UNIX)
|
endif(UNIX)
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ if(WIN32)
|
||||||
# When used later, "winexe" and others with no leading / is relative to CMAKE_INSTALL_PREFIX.
|
# When used later, "winexe" and others with no leading / is relative to CMAKE_INSTALL_PREFIX.
|
||||||
set(KICAD_PLUGINS ${KICAD_BIN}/plugins)
|
set(KICAD_PLUGINS ${KICAD_BIN}/plugins)
|
||||||
set(KICAD_DATA share CACHE PATH "Location of KiCad data files.")
|
set(KICAD_DATA share CACHE PATH "Location of KiCad data files.")
|
||||||
SET(KICAD_DOCS doc)
|
set(KICAD_DOCS doc)
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
set(KICAD_DEMOS ${KICAD_DATA}/demos)
|
set(KICAD_DEMOS ${KICAD_DATA}/demos)
|
||||||
|
@ -108,7 +108,8 @@ add_subdirectory(template)
|
||||||
|
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/install.txt DESTINATION ${KICAD_DOCS} COMPONENT resources)
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/install.txt DESTINATION ${KICAD_DOCS} COMPONENT resources)
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/share/kicad.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications COMPONENT resources)
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/share/kicad.desktop
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bitmaps/kicad.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps COMPONENT resources)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications COMPONENT resources)
|
||||||
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bitmaps/kicad.png
|
||||||
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps COMPONENT resources)
|
||||||
endif(UNIX)
|
endif(UNIX)
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,12 @@ if(ZLIB_FOUND)
|
||||||
else(ZLIB_FOUND)
|
else(ZLIB_FOUND)
|
||||||
message(STATUS "Check for installed zlib -- not found")
|
message(STATUS "Check for installed zlib -- not found")
|
||||||
message(STATUS "Use wxWidgets zlib")
|
message(STATUS "Use wxWidgets zlib")
|
||||||
# zlib is not installed, and in this case wxWidgets creates its own zlib library
|
# zlib is not installed, and in this case wxWidgets creates its own zlib library
|
||||||
# include files are in ${wxWidgets_ROOT_DIR}/src/zlib
|
# include files are in ${wxWidgets_ROOT_DIR}/src/zlib
|
||||||
# and the corresponding library is libwxzlib-<version>.a (like libwxzlib-2.8.a)
|
# and the corresponding library is libwxzlib-<version>.a (like libwxzlib-2.8.a)
|
||||||
# and we try to use it
|
# and we try to use it
|
||||||
INCLUDE_DIRECTORIES( ${wxWidgets_ROOT_DIR}/src/zlib)
|
include_directories(${wxWidgets_ROOT_DIR}/src/zlib)
|
||||||
set(ZLIB_LIBRARIES ${wxWidgets_ROOT_DIR}/lib/libwxzlib-2.8.a)
|
set(ZLIB_LIBRARIES ${wxWidgets_ROOT_DIR}/lib/libwxzlib-2.8.a)
|
||||||
endif(ZLIB_FOUND)
|
endif(ZLIB_FOUND)
|
||||||
|
|
||||||
set(MINIZIP_SRCS
|
set(MINIZIP_SRCS
|
||||||
|
|
|
@ -47,7 +47,7 @@ set(PCBNEW_SRCS
|
||||||
# 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_freeroute_exchange.cpp
|
dialog_freeroute_exchange.cpp
|
||||||
# dialog_gendrill.cpp
|
# dialog_gendrill.cpp
|
||||||
dialog_general_options.cpp
|
dialog_general_options.cpp
|
||||||
# dialog_graphic_items_options.cpp
|
# dialog_graphic_items_options.cpp
|
||||||
|
|
Loading…
Reference in New Issue