mirror of
https://github.com/reactos/CMake.git
synced 2025-01-22 19:44:50 +00:00
a22f996725
Teach the VS 2008 and 2005 generators to set the `RemoteDirectory` in `DeploymentTool` and the `RemoteExecutable` in `DebuggerTool`. Use a `DEPLOYMENT_REMOTE_DIRECTORY` target property to specify the value.
19 lines
617 B
ReStructuredText
19 lines
617 B
ReStructuredText
DEPLOYMENT_REMOTE_DIRECTORY
|
|
---------------------------
|
|
|
|
Set the WinCE project ``RemoteDirectory`` in ``DeploymentTool`` and
|
|
``RemoteExecutable`` in ``DebuggerTool`` in ``.vcproj`` files generated
|
|
by the :generator:`Visual Studio 9 2008` and :generator:`Visual Studio 8 2005`
|
|
generators. This is useful when you want to debug on remote WinCE device.
|
|
For example:
|
|
|
|
.. code-block:: cmake
|
|
|
|
set_property(TARGET ${TARGET} PROPERTY
|
|
DEPLOYMENT_REMOTE_DIRECTORY "\\FlashStorage")
|
|
|
|
produces::
|
|
|
|
<DeploymentTool RemoteDirectory="\FlashStorage" ... />
|
|
<DebuggerTool RemoteExecutable="\FlashStorage\target_file" ... />
|