summaryrefslogtreecommitdiff
path: root/tests/src/Common
diff options
context:
space:
mode:
authorLuqun Lou <luqunl@users.noreply.github.com>2018-09-26 09:32:26 -0700
committerGitHub <noreply@github.com>2018-09-26 09:32:26 -0700
commite2a45dce9a853c3eead8aa635317f5615d60bdb6 (patch)
tree645c17b7217e149e937adff3335d11838e787647 /tests/src/Common
parentf5f73ff2758f5c308561716fe8fb8b7cf6bc3cda (diff)
downloadcoreclr-e2a45dce9a853c3eead8aa635317f5615d60bdb6.tar.gz
coreclr-e2a45dce9a853c3eead8aa635317f5615d60bdb6.tar.bz2
coreclr-e2a45dce9a853c3eead8aa635317f5615d60bdb6.zip
Use platformdefines through lib instead of cpp (#19948)
* Use platformdefines through lib instead of cpp * add a dummy export function * Remove dummy export * Compile as Static Library * revert platformdefines.cpp file * remove DLL_EXPORT
Diffstat (limited to 'tests/src/Common')
-rwxr-xr-xtests/src/Common/Platform/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/src/Common/Platform/CMakeLists.txt b/tests/src/Common/Platform/CMakeLists.txt
new file mode 100755
index 0000000000..4aeab2d3b0
--- /dev/null
+++ b/tests/src/Common/Platform/CMakeLists.txt
@@ -0,0 +1,9 @@
+cmake_minimum_required (VERSION 2.6)
+project (platformdefines)
+set(SOURCES platformdefines.cpp)
+
+# add the executable
+add_library(platformdefines STATIC ${SOURCES})
+
+# add the install targets
+install (TARGETS platformdefines DESTINATION bin)