Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2011-11-10 20:19:02 -0500
committerEugene Tarassov2011-11-10 20:19:02 -0500
commita107edc216f94c5ec059fdf74541908bc7e979bb (patch)
treea0d9a448043cf5b969c2ede059b7d19a3aa64b71 /agent/cmake
parent07c7a005cded9e4b4ec842d756d0e4d79dade149 (diff)
downloadorg.eclipse.tcf.agent-a107edc216f94c5ec059fdf74541908bc7e979bb.tar.gz
org.eclipse.tcf.agent-a107edc216f94c5ec059fdf74541908bc7e979bb.tar.xz
org.eclipse.tcf.agent-a107edc216f94c5ec059fdf74541908bc7e979bb.zip
Agent code is moved into separate "agent" directory, all C code moved into "tcf" directory.
Diffstat (limited to 'agent/cmake')
-rw-r--r--agent/cmake/build-gcc-release.sh5
-rw-r--r--agent/cmake/build-msvc-debug.bat16
-rw-r--r--agent/cmake/build-msvc-release.bat16
3 files changed, 37 insertions, 0 deletions
diff --git a/agent/cmake/build-gcc-release.sh b/agent/cmake/build-gcc-release.sh
new file mode 100644
index 00000000..c7f94130
--- /dev/null
+++ b/agent/cmake/build-gcc-release.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ -d gcc-release ] || mkdir gcc-release
+cd gcc-release
+[ -f Makefile ] || cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../..
+make $*
diff --git a/agent/cmake/build-msvc-debug.bat b/agent/cmake/build-msvc-debug.bat
new file mode 100644
index 00000000..2e411bbd
--- /dev/null
+++ b/agent/cmake/build-msvc-debug.bat
@@ -0,0 +1,16 @@
+@echo off
+REM The Visual C++ compiler must be in your path
+REM This is handled automatically with CDT's Visual C++ integration
+
+if exist msvc-debug goto checkmk
+mkdir msvc-debug
+
+:checkmk
+cd msvc-debug
+if exist Makefile goto dobuild
+@echo on
+cmake -DCMAKE_BUILD_TYPE=Debug ..\..
+
+:dobuild
+@echo on
+nmake %*
diff --git a/agent/cmake/build-msvc-release.bat b/agent/cmake/build-msvc-release.bat
new file mode 100644
index 00000000..3ff47eb6
--- /dev/null
+++ b/agent/cmake/build-msvc-release.bat
@@ -0,0 +1,16 @@
+@echo off
+REM The Visual C++ compiler must be in your path
+REM This is handled automatically with CDT's Visual C++ integration
+
+if exist msvc-release goto checkmk
+mkdir msvc-release
+
+:checkmk
+cd msvc-release
+if exist Makefile goto dobuild
+@echo on
+cmake -DCMAKE_BUILD_TYPE=Release ..\..
+
+:dobuild
+@echo on
+nmake %*

Back to the top