Loading CMakeLists.txt +1 −1 Original line number Original line Diff line number Diff line Loading @@ -139,7 +139,7 @@ check_find_package_result(OPENGL_FOUND "OpenGL") # http://www.wxwidgets.org/manuals/2.8/wx_librarieslist.html # http://www.wxwidgets.org/manuals/2.8/wx_librarieslist.html if( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) if( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) find_package(wxWidgets COMPONENTS gl aui adv html core net base QUIET) find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) # find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) # find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) else( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) else( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) Loading cvpcb/CMakeLists.txt +19 −5 Original line number Original line Diff line number Diff line Loading @@ -6,6 +6,15 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ../pcbnew ../pcbnew ../polygon ../polygon ${CMAKE_SOURCE_DIR}/common) ${CMAKE_SOURCE_DIR}/common) ## # Name of target on OSX is also the title of the application # on other targets this should be as normal ## if(APPLE) set(CVPCB_NAME CvPCB) else(APPLE) set(CVPCB_NAME cvpcb) endif(APPLE) set(CVPCB_SRCS set(CVPCB_SRCS autosel.cpp autosel.cpp Loading Loading @@ -41,6 +50,9 @@ if(WIN32) endif(MINGW) endif(MINGW) endif(WIN32) endif(WIN32) ### # CvPCB.app resources ### if(APPLE) if(APPLE) set(CVPCB_RESOURCES cvpcb.icns cvpcb_doc.icns) set(CVPCB_RESOURCES cvpcb.icns cvpcb_doc.icns) set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/cvpcb.icns" set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/cvpcb.icns" Loading @@ -49,17 +61,19 @@ if(APPLE) PROPERTIES MACOSX_PACKAGE_LOCATION Resources) PROPERTIES MACOSX_PACKAGE_LOCATION Resources) set(MACOSX_BUNDLE_ICON_FILE cvpcb.icns) set(MACOSX_BUNDLE_ICON_FILE cvpcb.icns) set(MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.cvpcb) set(MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.cvpcb) set(MACOSX_BUNDLE_NAME cvpcb) endif(APPLE) endif(APPLE) add_executable(cvpcb WIN32 MACOSX_BUNDLE ${CVPCB_SRCS} ${CVPCB_RESOURCES}) add_executable(${CVPCB_NAME} WIN32 MACOSX_BUNDLE ${CVPCB_SRCS} ${CVPCB_RESOURCES}) ### # CvPCB.app creation ### if(APPLE) if(APPLE) set_target_properties(cvpcb PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) set_target_properties(${CVPCB_NAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) endif(APPLE) endif(APPLE) target_link_libraries(cvpcb 3d-viewer common pcbcommon polygon bitmaps kbool ${OPENGL_LIBRARIES} ${wxWidgets_LIBRARIES}) target_link_libraries(${CVPCB_NAME} 3d-viewer common pcbcommon polygon bitmaps kbool ${OPENGL_LIBRARIES} ${wxWidgets_LIBRARIES}) install(TARGETS cvpcb install(TARGETS ${CVPCB_NAME} DESTINATION ${KICAD_BIN} DESTINATION ${KICAD_BIN} COMPONENT binary) COMPONENT binary) cvpcb/Info.plist +2 −2 Original line number Original line Diff line number Diff line Loading @@ -20,7 +20,7 @@ <key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key> <string>English</string> <string>English</string> <key>CFBundleExecutable</key> <key>CFBundleExecutable</key> <string>cvpcb</string> <string>CvPCB</string> <key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key> <string></string> <string></string> <key>CFBundleIconFile</key> <key>CFBundleIconFile</key> Loading @@ -32,7 +32,7 @@ <key>CFBundleLongVersionString</key> <key>CFBundleLongVersionString</key> <string></string> <string></string> <key>CFBundleName</key> <key>CFBundleName</key> <string></string> <string>CvPCB</string> <key>CFBundlePackageType</key> <key>CFBundlePackageType</key> <string>APPL</string> <string>APPL</string> <key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key> Loading cvpcb/cvpcb.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -79,7 +79,7 @@ bool WinEDA_App::OnInit() wxString msg; wxString msg; WinEDA_CvpcbFrame* frame = NULL; WinEDA_CvpcbFrame* frame = NULL; InitEDA_Appl( wxT( "Cvpcb" ), APP_TYPE_CVPCB ); InitEDA_Appl( wxT( "CvPCB" ), APP_TYPE_CVPCB ); if( m_Checker && m_Checker->IsAnotherRunning() ) if( m_Checker && m_Checker->IsAnotherRunning() ) { { Loading eeschema/CMakeLists.txt +13 −5 Original line number Original line Diff line number Diff line Loading @@ -4,6 +4,15 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/common ${CMAKE_SOURCE_DIR}/common ${Boost_INCLUDE_DIR} ${Boost_INCLUDE_DIR} ) ) ## # Name of target on OSX is also the title of the application # on other targets this should be as normal ## if(APPLE) set(EESCHEMA_NAME EESchema) else(APPLE) set(EESCHEMA_NAME eeschema) endif(APPLE) set(EESCHEMA_SRCS set(EESCHEMA_SRCS annotate.cpp annotate.cpp Loading Loading @@ -146,18 +155,17 @@ if(APPLE) PROPERTIES MACOSX_PACKAGE_LOCATION Resources) PROPERTIES MACOSX_PACKAGE_LOCATION Resources) set(MACOSX_BUNDLE_ICON_FILE eeschema.icns) set(MACOSX_BUNDLE_ICON_FILE eeschema.icns) set(MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.eeschema) set(MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.eeschema) set(MACOSX_BUNDLE_NAME eeschema) endif(APPLE) endif(APPLE) add_executable(eeschema WIN32 MACOSX_BUNDLE ${EESCHEMA_SRCS} ${EESCHEMA_EXTRA_SRCS} ${EESCHEMA_RESOURCES}) add_executable(${EESCHEMA_NAME} WIN32 MACOSX_BUNDLE ${EESCHEMA_SRCS} ${EESCHEMA_EXTRA_SRCS} ${EESCHEMA_RESOURCES}) if(APPLE) if(APPLE) set_target_properties(eeschema PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) set_target_properties(${EESCHEMA_NAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) endif(APPLE) endif(APPLE) target_link_libraries(eeschema common bitmaps ${wxWidgets_LIBRARIES}) target_link_libraries(${EESCHEMA_NAME} common bitmaps ${wxWidgets_LIBRARIES}) install(TARGETS eeschema install(TARGETS ${EESCHEMA_NAME} DESTINATION ${KICAD_BIN} DESTINATION ${KICAD_BIN} COMPONENT binary) COMPONENT binary) Loading Loading
CMakeLists.txt +1 −1 Original line number Original line Diff line number Diff line Loading @@ -139,7 +139,7 @@ check_find_package_result(OPENGL_FOUND "OpenGL") # http://www.wxwidgets.org/manuals/2.8/wx_librarieslist.html # http://www.wxwidgets.org/manuals/2.8/wx_librarieslist.html if( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) if( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) find_package(wxWidgets COMPONENTS gl aui adv html core net base QUIET) find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) # find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) # find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) else( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) else( KICAD_AUIMANAGER OR KICAD_AUITOOLBAR ) find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) find_package(wxWidgets COMPONENTS gl adv html core net base QUIET) Loading
cvpcb/CMakeLists.txt +19 −5 Original line number Original line Diff line number Diff line Loading @@ -6,6 +6,15 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ../pcbnew ../pcbnew ../polygon ../polygon ${CMAKE_SOURCE_DIR}/common) ${CMAKE_SOURCE_DIR}/common) ## # Name of target on OSX is also the title of the application # on other targets this should be as normal ## if(APPLE) set(CVPCB_NAME CvPCB) else(APPLE) set(CVPCB_NAME cvpcb) endif(APPLE) set(CVPCB_SRCS set(CVPCB_SRCS autosel.cpp autosel.cpp Loading Loading @@ -41,6 +50,9 @@ if(WIN32) endif(MINGW) endif(MINGW) endif(WIN32) endif(WIN32) ### # CvPCB.app resources ### if(APPLE) if(APPLE) set(CVPCB_RESOURCES cvpcb.icns cvpcb_doc.icns) set(CVPCB_RESOURCES cvpcb.icns cvpcb_doc.icns) set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/cvpcb.icns" set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/cvpcb.icns" Loading @@ -49,17 +61,19 @@ if(APPLE) PROPERTIES MACOSX_PACKAGE_LOCATION Resources) PROPERTIES MACOSX_PACKAGE_LOCATION Resources) set(MACOSX_BUNDLE_ICON_FILE cvpcb.icns) set(MACOSX_BUNDLE_ICON_FILE cvpcb.icns) set(MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.cvpcb) set(MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.cvpcb) set(MACOSX_BUNDLE_NAME cvpcb) endif(APPLE) endif(APPLE) add_executable(cvpcb WIN32 MACOSX_BUNDLE ${CVPCB_SRCS} ${CVPCB_RESOURCES}) add_executable(${CVPCB_NAME} WIN32 MACOSX_BUNDLE ${CVPCB_SRCS} ${CVPCB_RESOURCES}) ### # CvPCB.app creation ### if(APPLE) if(APPLE) set_target_properties(cvpcb PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) set_target_properties(${CVPCB_NAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) endif(APPLE) endif(APPLE) target_link_libraries(cvpcb 3d-viewer common pcbcommon polygon bitmaps kbool ${OPENGL_LIBRARIES} ${wxWidgets_LIBRARIES}) target_link_libraries(${CVPCB_NAME} 3d-viewer common pcbcommon polygon bitmaps kbool ${OPENGL_LIBRARIES} ${wxWidgets_LIBRARIES}) install(TARGETS cvpcb install(TARGETS ${CVPCB_NAME} DESTINATION ${KICAD_BIN} DESTINATION ${KICAD_BIN} COMPONENT binary) COMPONENT binary)
cvpcb/Info.plist +2 −2 Original line number Original line Diff line number Diff line Loading @@ -20,7 +20,7 @@ <key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key> <string>English</string> <string>English</string> <key>CFBundleExecutable</key> <key>CFBundleExecutable</key> <string>cvpcb</string> <string>CvPCB</string> <key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key> <string></string> <string></string> <key>CFBundleIconFile</key> <key>CFBundleIconFile</key> Loading @@ -32,7 +32,7 @@ <key>CFBundleLongVersionString</key> <key>CFBundleLongVersionString</key> <string></string> <string></string> <key>CFBundleName</key> <key>CFBundleName</key> <string></string> <string>CvPCB</string> <key>CFBundlePackageType</key> <key>CFBundlePackageType</key> <string>APPL</string> <string>APPL</string> <key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key> Loading
cvpcb/cvpcb.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -79,7 +79,7 @@ bool WinEDA_App::OnInit() wxString msg; wxString msg; WinEDA_CvpcbFrame* frame = NULL; WinEDA_CvpcbFrame* frame = NULL; InitEDA_Appl( wxT( "Cvpcb" ), APP_TYPE_CVPCB ); InitEDA_Appl( wxT( "CvPCB" ), APP_TYPE_CVPCB ); if( m_Checker && m_Checker->IsAnotherRunning() ) if( m_Checker && m_Checker->IsAnotherRunning() ) { { Loading
eeschema/CMakeLists.txt +13 −5 Original line number Original line Diff line number Diff line Loading @@ -4,6 +4,15 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/common ${CMAKE_SOURCE_DIR}/common ${Boost_INCLUDE_DIR} ${Boost_INCLUDE_DIR} ) ) ## # Name of target on OSX is also the title of the application # on other targets this should be as normal ## if(APPLE) set(EESCHEMA_NAME EESchema) else(APPLE) set(EESCHEMA_NAME eeschema) endif(APPLE) set(EESCHEMA_SRCS set(EESCHEMA_SRCS annotate.cpp annotate.cpp Loading Loading @@ -146,18 +155,17 @@ if(APPLE) PROPERTIES MACOSX_PACKAGE_LOCATION Resources) PROPERTIES MACOSX_PACKAGE_LOCATION Resources) set(MACOSX_BUNDLE_ICON_FILE eeschema.icns) set(MACOSX_BUNDLE_ICON_FILE eeschema.icns) set(MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.eeschema) set(MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.eeschema) set(MACOSX_BUNDLE_NAME eeschema) endif(APPLE) endif(APPLE) add_executable(eeschema WIN32 MACOSX_BUNDLE ${EESCHEMA_SRCS} ${EESCHEMA_EXTRA_SRCS} ${EESCHEMA_RESOURCES}) add_executable(${EESCHEMA_NAME} WIN32 MACOSX_BUNDLE ${EESCHEMA_SRCS} ${EESCHEMA_EXTRA_SRCS} ${EESCHEMA_RESOURCES}) if(APPLE) if(APPLE) set_target_properties(eeschema PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) set_target_properties(${EESCHEMA_NAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) endif(APPLE) endif(APPLE) target_link_libraries(eeschema common bitmaps ${wxWidgets_LIBRARIES}) target_link_libraries(${EESCHEMA_NAME} common bitmaps ${wxWidgets_LIBRARIES}) install(TARGETS eeschema install(TARGETS ${EESCHEMA_NAME} DESTINATION ${KICAD_BIN} DESTINATION ${KICAD_BIN} COMPONENT binary) COMPONENT binary) Loading