2020-05-06 01:47:20 +01:00
|
|
|
# Add all the warnings to the files
|
|
|
|
if( COMPILER_SUPPORTS_WARNINGS )
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARN_FLAGS_CXX}")
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARN_FLAGS_C}")
|
2017-02-23 11:40:40 +01:00
|
|
|
endif()
|
|
|
|
|
2023-02-21 23:58:26 +00:00
|
|
|
add_compile_definitions( KICAD )
|
2022-01-02 10:14:15 -08:00
|
|
|
add_subdirectory( pcm )
|
2007-11-08 07:17:37 +00:00
|
|
|
|
2014-04-24 12:21:34 -05:00
|
|
|
include_directories( BEFORE ${INC_BEFORE} )
|
2012-01-22 22:33:36 -06:00
|
|
|
include_directories(
|
2024-02-21 11:35:09 -05:00
|
|
|
${CMAKE_SOURCE_DIR}/common/dialogs
|
2020-01-22 23:27:20 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/pcbnew
|
|
|
|
${CMAKE_SOURCE_DIR}/eeschema
|
2022-01-02 10:14:15 -08:00
|
|
|
${CMAKE_SOURCE_DIR}/kicad/pcm
|
2012-01-22 22:33:36 -06:00
|
|
|
${INC_AFTER}
|
|
|
|
)
|
|
|
|
|
2014-04-24 12:21:34 -05:00
|
|
|
set( KICAD_SRCS
|
2024-10-22 22:29:14 -04:00
|
|
|
dialogs/dialog_job_config_base.cpp
|
2025-01-04 13:06:09 +00:00
|
|
|
dialogs/dialog_copyfiles_job_settings.cpp
|
|
|
|
dialogs/dialog_copyfiles_job_settings_base.cpp
|
|
|
|
dialogs/dialog_executecommand_job_settings.cpp
|
|
|
|
dialogs/dialog_executecommand_job_settings_base.cpp
|
2023-11-22 20:03:34 -05:00
|
|
|
dialogs/dialog_update_check_prompt_base.cpp
|
|
|
|
dialogs/dialog_update_check_prompt.cpp
|
2023-12-16 06:47:28 -05:00
|
|
|
dialogs/dialog_update_notice_base.cpp
|
|
|
|
dialogs/dialog_update_notice.cpp
|
2022-12-12 22:53:39 -05:00
|
|
|
dialogs/dialog_template_selector_base.cpp
|
|
|
|
dialogs/dialog_template_selector.cpp
|
|
|
|
dialogs/panel_kicad_launcher_base.cpp
|
|
|
|
dialogs/panel_kicad_launcher.cpp
|
2024-07-15 18:20:13 -04:00
|
|
|
dialogs/panel_jobs_base.cpp
|
|
|
|
dialogs/panel_jobs.cpp
|
2022-12-12 22:53:39 -05:00
|
|
|
files-io.cpp
|
2024-07-15 18:20:13 -04:00
|
|
|
jobs_runner.cpp
|
2022-12-12 22:53:39 -05:00
|
|
|
import_proj.cpp
|
|
|
|
import_project.cpp
|
|
|
|
kicad_manager_frame.cpp
|
|
|
|
menubar.cpp
|
|
|
|
project_template.cpp
|
|
|
|
project_tree_pane.cpp
|
|
|
|
project_tree.cpp
|
|
|
|
project_tree_item.cpp
|
2023-11-22 20:03:34 -05:00
|
|
|
update_manager.cpp
|
2022-12-12 22:53:39 -05:00
|
|
|
tools/kicad_manager_actions.cpp
|
|
|
|
tools/kicad_manager_control.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set( KICAD_CLI_SRCS
|
2022-11-28 20:57:24 -05:00
|
|
|
cli/command.cpp
|
2024-07-15 18:20:13 -04:00
|
|
|
cli/command_jobset_run.cpp
|
2023-08-19 11:46:18 -04:00
|
|
|
cli/command_pcb_export_base.cpp
|
2023-08-09 19:38:43 -04:00
|
|
|
cli/command_pcb_drc.cpp
|
2024-03-03 21:11:42 +03:00
|
|
|
cli/command_pcb_render.cpp
|
2023-08-19 13:39:40 -04:00
|
|
|
cli/command_pcb_export_3d.cpp
|
2023-08-19 11:46:18 -04:00
|
|
|
cli/command_pcb_export_drill.cpp
|
|
|
|
cli/command_pcb_export_dxf.cpp
|
|
|
|
cli/command_pcb_export_gerber.cpp
|
|
|
|
cli/command_pcb_export_gerbers.cpp
|
2024-09-16 22:31:52 +00:00
|
|
|
cli/command_pcb_export_gencad.cpp
|
2024-01-30 20:42:18 -05:00
|
|
|
cli/command_pcb_export_ipc2581.cpp
|
2024-12-02 10:53:01 -05:00
|
|
|
cli/command_pcb_export_odb.cpp
|
2023-08-19 11:46:18 -04:00
|
|
|
cli/command_pcb_export_pdf.cpp
|
|
|
|
cli/command_pcb_export_pos.cpp
|
|
|
|
cli/command_pcb_export_svg.cpp
|
2022-12-13 22:48:07 -05:00
|
|
|
cli/command_fp_export_svg.cpp
|
2022-11-27 21:27:34 -05:00
|
|
|
cli/command_fp_upgrade.cpp
|
2023-08-19 11:46:18 -04:00
|
|
|
cli/command_sch_export_bom.cpp
|
|
|
|
cli/command_sch_export_pythonbom.cpp
|
|
|
|
cli/command_sch_export_netlist.cpp
|
|
|
|
cli/command_sch_export_plot.cpp
|
2023-08-13 20:31:19 -04:00
|
|
|
cli/command_sch_erc.cpp
|
2022-12-12 22:42:22 -05:00
|
|
|
cli/command_sym_export_svg.cpp
|
2022-11-28 23:54:29 -05:00
|
|
|
cli/command_sym_upgrade.cpp
|
2023-01-01 22:41:05 -05:00
|
|
|
cli/command_version.cpp
|
2024-07-15 18:20:13 -04:00
|
|
|
|
|
|
|
jobs_runner.cpp
|
2014-04-24 12:21:34 -05:00
|
|
|
)
|
2022-12-13 22:48:07 -05:00
|
|
|
|
2021-12-28 23:54:27 -05:00
|
|
|
if( WIN32 )
|
|
|
|
if( MINGW )
|
|
|
|
# KICAD_RESOURCES variable is set by the macro.
|
|
|
|
mingw_resource_compiler( kicad )
|
|
|
|
else()
|
|
|
|
set( KICAD_RESOURCES ${CMAKE_SOURCE_DIR}/resources/msw/kicad.rc )
|
|
|
|
endif()
|
* KIWAY Milestone A): Make major modules into DLL/DSOs.
! The initial testing of this commit should be done using a Debug build so that
all the wxASSERT()s are enabled. Also, be sure and keep enabled the
USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it
off is senseless anyways. If you want stable code, go back to a prior version,
the one tagged with "stable".
* Relocate all functionality out of the wxApp derivative into more finely
targeted purposes:
a) DLL/DSO specific
b) PROJECT specific
c) EXE or process specific
d) configuration file specific data
e) configuration file manipulations functions.
All of this functionality was blended into an extremely large wxApp derivative
and that was incompatible with the desire to support multiple concurrently
loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects.
An amazing amount of organization come from simply sorting each bit of
functionality into the proper box.
* Switch to wxConfigBase from wxConfig everywhere except instantiation.
* Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD,
PGM_SINGLE_TOP,
* Remove "Return" prefix on many function names.
* Remove obvious comments from CMakeLists.txt files, and from else() and endif()s.
* Fix building boost for use in a DSO on linux.
* Remove some of the assumptions in the CMakeLists.txt files that windows had
to be the host platform when building windows binaries.
* Reduce the number of wxStrings being constructed at program load time via
static construction.
* Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that
these functions are useful even when the wxConfigBase comes from another
source, as is the case in the KICAD_MANAGER_FRAME.
* Move the setting of the KIPRJMOD environment variable into class PROJECT,
so that it can be moved into a project variable soon, and out of FP_LIB_TABLE.
* Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all
its child wxFrames and wxDialogs now have a Kiway() member function which
returns a KIWAY& that that window tree branch is in support of. This is like
wxWindows DNA in that child windows get this member with proper value at time
of construction.
* Anticipate some of the needs for milestones B) and C) and make code
adjustments now in an effort to reduce work in those milestones.
* No testing has been done for python scripting, since milestone C) has that
being largely reworked and re-thought-out.
2014-03-19 19:42:08 -05:00
|
|
|
endif()
|
2008-09-07 19:32:07 +00:00
|
|
|
|
2022-01-31 15:57:56 -08:00
|
|
|
if( APPLE )
|
2014-04-24 12:21:34 -05:00
|
|
|
set( KICAD_RESOURCES kicad.icns kicad_doc.icns )
|
|
|
|
set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/kicad.icns" PROPERTIES
|
|
|
|
MACOSX_PACKAGE_LOCATION Resources
|
|
|
|
)
|
|
|
|
set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/kicad_doc.icns" PROPERTIES
|
|
|
|
MACOSX_PACKAGE_LOCATION Resources
|
|
|
|
)
|
|
|
|
set( MACOSX_BUNDLE_ICON_FILE kicad.icns )
|
2021-07-30 20:27:05 -07:00
|
|
|
set( MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad.kicad )
|
2014-04-24 12:21:34 -05:00
|
|
|
set( MACOSX_BUNDLE_NAME kicad )
|
|
|
|
endif()
|
2007-11-08 07:17:37 +00:00
|
|
|
|
2014-04-24 12:21:34 -05:00
|
|
|
add_executable( kicad WIN32 MACOSX_BUNDLE
|
2022-10-04 20:06:50 -04:00
|
|
|
kicad.cpp
|
|
|
|
${KICAD_SRCS}
|
|
|
|
${KICAD_EXTRA_SRCS}
|
|
|
|
${KICAD_RESOURCES}
|
|
|
|
)
|
|
|
|
|
2022-10-11 10:20:21 -04:00
|
|
|
add_executable( kicad-cli WIN32
|
2022-10-04 20:06:50 -04:00
|
|
|
kicad_cli.cpp
|
2022-12-12 22:53:39 -05:00
|
|
|
${KICAD_CLI_SRCS}
|
2012-01-27 09:40:04 -06:00
|
|
|
${KICAD_EXTRA_SRCS}
|
|
|
|
${KICAD_RESOURCES}
|
|
|
|
)
|
2009-04-29 12:10:15 +00:00
|
|
|
|
2022-10-04 20:06:50 -04:00
|
|
|
if( MSVC )
|
|
|
|
# The cli needs subsystem:console or else we can't link wmain/main
|
|
|
|
set_target_properties(kicad-cli PROPERTIES COMPILE_DEFINITIONS_DEBUG "_CONSOLE")
|
|
|
|
set_target_properties(kicad-cli PROPERTIES COMPILE_DEFINITIONS_RELWITHDEBINFO "_CONSOLE")
|
|
|
|
set_target_properties(kicad-cli PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE")
|
|
|
|
set_target_properties(kicad-cli PROPERTIES LINK_FLAGS_RELWITHDEBINFO "/SUBSYSTEM:CONSOLE")
|
|
|
|
set_target_properties(kicad-cli PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:CONSOLE")
|
|
|
|
set_target_properties(kicad-cli PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:CONSOLE")
|
2023-01-29 13:06:05 -05:00
|
|
|
|
|
|
|
# Allow running from build dir
|
|
|
|
add_custom_command( TARGET kicad POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different "$<TARGET_FILE:kiapi>" "$<TARGET_FILE_DIR:kicad>"
|
|
|
|
)
|
2022-10-04 20:06:50 -04:00
|
|
|
endif()
|
|
|
|
|
2014-04-24 12:21:34 -05:00
|
|
|
if( UNIX )
|
|
|
|
# for build directory: create kiface symlinks so kicad (exe) can be run in-situ
|
|
|
|
add_custom_target( kiface_sym_links
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E create_symlink "${CMAKE_BINARY_DIR}/eeschema/_eeschema.kiface" "${CMAKE_BINARY_DIR}/kicad/_eeschema.kiface"
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E create_symlink "${CMAKE_BINARY_DIR}/pcbnew/_pcbnew.kiface" "${CMAKE_BINARY_DIR}/kicad/_pcbnew.kiface"
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E create_symlink "${CMAKE_BINARY_DIR}/cvpcb/_cvpcb.kiface" "${CMAKE_BINARY_DIR}/kicad/_cvpcb.kiface"
|
|
|
|
COMMENT "Making <build-dir>/kicad/<kiface.symlinks>"
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2022-01-31 15:57:56 -08:00
|
|
|
if( APPLE )
|
2014-04-24 12:21:34 -05:00
|
|
|
set_target_properties( kicad PROPERTIES
|
2019-12-26 12:42:25 +00:00
|
|
|
MACOSX_BUNDLE_INFO_PLIST ${PROJECT_BINARY_DIR}/kicad/Info.plist
|
2014-04-24 12:21:34 -05:00
|
|
|
)
|
|
|
|
target_link_libraries( kicad
|
2022-01-01 21:21:49 -05:00
|
|
|
nlohmann_json
|
2012-01-27 09:40:04 -06:00
|
|
|
common
|
2023-09-08 23:43:18 -04:00
|
|
|
kicommon
|
2023-04-05 00:34:46 +01:00
|
|
|
core
|
2012-01-27 09:40:04 -06:00
|
|
|
${wxWidgets_LIBRARIES}
|
|
|
|
)
|
2022-10-04 20:06:50 -04:00
|
|
|
|
|
|
|
set_target_properties( kicad-cli PROPERTIES
|
2022-10-11 15:49:55 -04:00
|
|
|
RUNTIME_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_BIN_DIR}
|
2022-10-04 20:06:50 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries( kicad-cli
|
|
|
|
nlohmann_json
|
|
|
|
common
|
|
|
|
${wxWidgets_LIBRARIES}
|
2023-04-05 00:34:46 +01:00
|
|
|
core
|
2022-10-04 20:06:50 -04:00
|
|
|
)
|
2014-04-24 12:21:34 -05:00
|
|
|
else()
|
|
|
|
target_link_libraries( kicad
|
2022-01-01 21:21:49 -05:00
|
|
|
nlohmann_json
|
2012-01-27 09:40:04 -06:00
|
|
|
common
|
2017-02-20 17:57:41 +01:00
|
|
|
gal
|
2021-06-09 19:32:58 +00:00
|
|
|
common #repeated due to a circular dependency between gal and common
|
2025-01-05 10:15:28 -08:00
|
|
|
kicommon
|
2023-04-05 00:34:46 +01:00
|
|
|
core
|
2012-01-27 09:40:04 -06:00
|
|
|
${wxWidgets_LIBRARIES}
|
|
|
|
)
|
2022-10-04 20:06:50 -04:00
|
|
|
|
|
|
|
target_link_libraries( kicad-cli
|
|
|
|
nlohmann_json
|
|
|
|
common
|
|
|
|
gal
|
|
|
|
common #repeated due to a circular dependency between gal and common
|
2025-01-05 10:15:28 -08:00
|
|
|
kicommon
|
2023-04-05 00:34:46 +01:00
|
|
|
core
|
2022-10-04 20:06:50 -04:00
|
|
|
${wxWidgets_LIBRARIES}
|
|
|
|
)
|
2014-04-24 12:21:34 -05:00
|
|
|
endif()
|
|
|
|
|
2022-01-02 10:14:15 -08:00
|
|
|
target_link_libraries( kicad pcm )
|
2022-10-04 20:06:50 -04:00
|
|
|
target_link_libraries( kicad-cli pcm )
|
2020-10-26 03:54:36 -07:00
|
|
|
|
2022-10-12 08:31:56 -04:00
|
|
|
install( TARGETS kicad
|
2014-04-24 12:21:34 -05:00
|
|
|
DESTINATION ${KICAD_BIN}
|
|
|
|
COMPONENT binary
|
|
|
|
)
|
2021-07-14 23:31:56 -04:00
|
|
|
|
2022-10-20 18:20:27 +00:00
|
|
|
if( NOT APPLE )
|
|
|
|
install( TARGETS kicad-cli
|
|
|
|
DESTINATION ${KICAD_BIN}
|
|
|
|
COMPONENT binary
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2021-07-14 23:31:56 -04:00
|
|
|
if( KICAD_WIN32_INSTALL_PDBS )
|
|
|
|
# Get the PDBs to copy over for MSVC
|
|
|
|
install(FILES $<TARGET_PDB_FILE:kicad> DESTINATION ${KICAD_BIN})
|
|
|
|
endif()
|
|
|
|
|
2022-01-31 15:57:56 -08:00
|
|
|
if( APPLE )
|
2014-10-08 14:41:36 -04:00
|
|
|
# "install( CODE ... )" will launch its own CMake, so no variables from
|
|
|
|
# this CMake instance are accessible... use helper to transfer
|
2021-03-08 06:54:22 -08:00
|
|
|
set( SCRIPTING_HELPER "1" )
|
2021-07-14 23:31:56 -04:00
|
|
|
|
2023-03-20 15:02:45 +00:00
|
|
|
set( SPICE_HELPER "1" )
|
2020-06-15 21:45:33 +00:00
|
|
|
|
2021-03-28 14:56:14 -05:00
|
|
|
if( PYTHON_FRAMEWORK )
|
|
|
|
set( PYTHON_FRAMEWORK_HELPER "1" )
|
|
|
|
else()
|
|
|
|
set( PYTHON_FRAMEWORK_HELPER "0" )
|
|
|
|
endif()
|
|
|
|
|
2023-08-08 12:49:39 -04:00
|
|
|
set_target_properties( kicad PROPERTIES BUILD_RPATH ${PYTHON_FRAMEWORK} )
|
|
|
|
set_target_properties( kicad PROPERTIES INSTALL_RPATH
|
|
|
|
"@executable_path/../Frameworks;@executable_path/../Frameworks/Python.framework" )
|
|
|
|
set_target_properties( kicad-cli PROPERTIES INSTALL_RPATH
|
|
|
|
"@executable_path/../Frameworks;@executable_path/../Frameworks/Python.framework" )
|
|
|
|
set_target_properties( kicad-cli PROPERTIES BUILD_WITH_INSTALL_RPATH 1 )
|
2019-12-24 22:17:35 -06:00
|
|
|
|
2014-10-02 19:03:52 -04:00
|
|
|
install( CODE "
|
2023-08-08 12:49:39 -04:00
|
|
|
set( KICAD_CMAKE_MODULE_PATH \"${KICAD_CMAKE_MODULE_PATH}\" )
|
|
|
|
set( OSX_BUNDLE_INSTALL_BIN_DIR \"${OSX_BUNDLE_INSTALL_BIN_DIR}\" )
|
|
|
|
set( OSX_BUNDLE_INSTALL_LIB_DIR \"${OSX_BUNDLE_INSTALL_LIB_DIR}\" )
|
|
|
|
set( PYTHON_FRAMEWORK \"${PYTHON_FRAMEWORK}\" )
|
|
|
|
" )
|
|
|
|
|
|
|
|
install( CODE [[
|
|
|
|
include( ${KICAD_CMAKE_MODULE_PATH}/InstallSteps/InstallMacOS.cmake )
|
|
|
|
|
|
|
|
# Install the main bundle
|
|
|
|
install_runtime_deps( "${OSX_BUNDLE_INSTALL_BIN_DIR}/kicad"
|
|
|
|
""
|
|
|
|
""
|
2014-10-08 14:41:36 -04:00
|
|
|
)
|
2020-06-15 21:45:33 +00:00
|
|
|
|
2023-08-08 12:49:39 -04:00
|
|
|
# Now install Python framework properly (GET_RUNTIME_DEPENDENCIES can't do this)
|
|
|
|
execute_process( COMMAND rm ${OSX_BUNDLE_INSTALL_LIB_DIR}/Python )
|
|
|
|
execute_process( COMMAND cp -RP ${PYTHON_FRAMEWORK} ${OSX_BUNDLE_INSTALL_LIB_DIR}/ )
|
|
|
|
]] )
|
2014-10-17 13:45:33 -04:00
|
|
|
|
|
|
|
# move all individual app bundles into main bundle
|
|
|
|
install( CODE "
|
|
|
|
# helper function to move a bundle into main bundle
|
2020-12-23 19:12:43 +00:00
|
|
|
function( move_to_main_bundle bundle_name symlink_name )
|
2014-10-17 13:45:33 -04:00
|
|
|
message( STATUS \"Moving \${bundle_name} into main bundle...\" )
|
|
|
|
file( MAKE_DIRECTORY ${OSX_BUNDLE_INSTALL_DIR}/${OSX_BUNDLE_APP_DIR} )
|
|
|
|
file( REMOVE_RECURSE ${KICAD_BIN}/\${bundle_name}/${OSX_BUNDLE_LIB_DIR} )
|
|
|
|
file( RENAME ${KICAD_BIN}/\${bundle_name} ${OSX_BUNDLE_INSTALL_DIR}/${OSX_BUNDLE_APP_DIR}/\${bundle_name} )
|
|
|
|
execute_process( COMMAND ${CMAKE_COMMAND} -E create_symlink \"../../../Frameworks\" \"Frameworks\"
|
|
|
|
WORKING_DIRECTORY ${OSX_BUNDLE_INSTALL_DIR}/${OSX_BUNDLE_APP_DIR}/\${bundle_name}/Contents
|
|
|
|
)
|
|
|
|
# create a top-level link pointing inside main bundle
|
2020-12-23 19:12:43 +00:00
|
|
|
execute_process( COMMAND ${CMAKE_COMMAND} -E create_symlink \"${OSX_BUNDLE_MAIN}/${OSX_BUNDLE_APP_DIR}/\${bundle_name}\" \"\${symlink_name}\"
|
2014-10-17 13:45:33 -04:00
|
|
|
WORKING_DIRECTORY ${KICAD_BIN}
|
|
|
|
)
|
|
|
|
endfunction( move_to_main_bundle )
|
|
|
|
|
|
|
|
# move all app bundles
|
2023-08-08 12:49:39 -04:00
|
|
|
move_to_main_bundle( \"bitmap2component.app\" \"Image Converter.app\" )
|
|
|
|
move_to_main_bundle( \"eeschema.app\" \"Schematic Editor.app\" )
|
2020-12-23 19:12:43 +00:00
|
|
|
move_to_main_bundle( \"gerbview.app\" \"GerbView.app\" )
|
|
|
|
move_to_main_bundle( \"pcb_calculator.app\" \"PCB Calculator.app\" )
|
2023-08-08 12:49:39 -04:00
|
|
|
move_to_main_bundle( \"pcbnew.app\" \"PCB Editor.app\" )
|
2020-12-23 19:12:43 +00:00
|
|
|
move_to_main_bundle( \"pl_editor.app\" \"Page Layout Editor.app\" )
|
2021-05-28 02:59:56 -05:00
|
|
|
|
2023-08-08 12:49:39 -04:00
|
|
|
cmake_policy( SET CMP0012 NEW )
|
|
|
|
if ( ${PYTHON_FRAMEWORK_HELPER} AND ${KICAD_APPLE_MAKE_RELOCATEABLE_BUNDLE} )
|
|
|
|
message( STATUS \"Making the finished bundle relocateable...\" )
|
|
|
|
include( ${KICAD_CMAKE_MODULE_PATH}/InstallSteps/RefixupMacOS.cmake )
|
2022-11-16 15:24:29 -06:00
|
|
|
refix_kicad_bundle( ${OSX_BUNDLE_INSTALL_DIR} )
|
2021-05-28 02:59:56 -05:00
|
|
|
endif( )
|
|
|
|
|
2014-10-17 13:45:33 -04:00
|
|
|
" COMPONENT Runtime
|
|
|
|
)
|
2014-10-02 19:03:52 -04:00
|
|
|
endif()
|