summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorAndrej Bosik <andrej.bosik@prosoft.sk>2016-02-15 12:02:50 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-15 18:34:26 (GMT)
commita22f9967252eecbbd00c9adc1f07ecab9f15e53e (patch)
tree220c1fc2c38ed0f5be21406a8f36f71f0627cf06 /Help/prop_tgt
parent1d4ab06a7045edf366c689ba5e29bbc35d08718e (diff)
downloadCMake-a22f9967252eecbbd00c9adc1f07ecab9f15e53e.zip
CMake-a22f9967252eecbbd00c9adc1f07ecab9f15e53e.tar.gz
CMake-a22f9967252eecbbd00c9adc1f07ecab9f15e53e.tar.bz2
VS: Optionally generate remote directory for WinCE projects
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.
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/DEPLOYMENT_REMOTE_DIRECTORY.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Help/prop_tgt/DEPLOYMENT_REMOTE_DIRECTORY.rst b/Help/prop_tgt/DEPLOYMENT_REMOTE_DIRECTORY.rst
new file mode 100644
index 0000000..1ff5bf0
--- /dev/null
+++ b/Help/prop_tgt/DEPLOYMENT_REMOTE_DIRECTORY.rst
@@ -0,0 +1,18 @@
+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" ... />