CustomCommandGenerator: Add support for CROSSCOMPILING_EMULATOR
Teach the `add_custom_command` and `add_custom_target' commands to substitute argv0 with the crosscompiling emulator if it is a target with the `CROSSCOMPILING_EMULATOR` property set.
Showing
- Help/command/add_custom_command.rst 5 additions, 2 deletionsHelp/command/add_custom_command.rst
- Help/command/add_custom_target.rst 5 additions, 2 deletionsHelp/command/add_custom_target.rst
- Help/prop_tgt/CROSSCOMPILING_EMULATOR.rst 4 additions, 3 deletionsHelp/prop_tgt/CROSSCOMPILING_EMULATOR.rst
- Help/release/dev/custom-command-CROSSCOMPILING_EMULATOR.rst 6 additions, 0 deletionsHelp/release/dev/custom-command-CROSSCOMPILING_EMULATOR.rst
- Source/cmCustomCommandGenerator.cxx 32 additions, 2 deletionsSource/cmCustomCommandGenerator.cxx
- Source/cmCustomCommandGenerator.h 1 addition, 0 deletionsSource/cmCustomCommandGenerator.h
- Tests/RunCMake/CMakeLists.txt 7 additions, 1 deletionTests/RunCMake/CMakeLists.txt
- Tests/RunCMake/CrosscompilingEmulator/AddCustomCommand-build-check.cmake 5 additions, 0 deletions...CrosscompilingEmulator/AddCustomCommand-build-check.cmake
- Tests/RunCMake/CrosscompilingEmulator/AddCustomCommand.cmake 38 additions, 0 deletionsTests/RunCMake/CrosscompilingEmulator/AddCustomCommand.cmake
- Tests/RunCMake/CrosscompilingEmulator/AddCustomTarget-build-check.cmake 1 addition, 0 deletions.../CrosscompilingEmulator/AddCustomTarget-build-check.cmake
- Tests/RunCMake/CrosscompilingEmulator/AddCustomTarget.cmake 30 additions, 0 deletionsTests/RunCMake/CrosscompilingEmulator/AddCustomTarget.cmake
- Tests/RunCMake/CrosscompilingEmulator/RunCMakeTest.cmake 15 additions, 0 deletionsTests/RunCMake/CrosscompilingEmulator/RunCMakeTest.cmake
- Tests/RunCMake/CrosscompilingEmulator/simple_src_exitsuccess.cxx 4 additions, 0 deletions...unCMake/CrosscompilingEmulator/simple_src_exitsuccess.cxx
- Tests/RunCMake/pseudo_emulator_custom_command.c 34 additions, 0 deletionsTests/RunCMake/pseudo_emulator_custom_command.c
Loading
Please register or sign in to comment