summaryrefslogtreecommitdiff
path: root/src/utilcode/crossgen
diff options
context:
space:
mode:
authorKyungwoo Lee <kyulee@microsoft.com>2015-12-03 14:26:05 -0800
committerKyungwoo Lee <kyulee@microsoft.com>2015-12-03 20:41:18 -0800
commit1d34f6293740f4f79f8b362c2d605fa2a527d538 (patch)
treea716d441f4449582b25bf2de9b264ba56fd8ee19 /src/utilcode/crossgen
parent0bdc646c5955ca0c735a3976d01969b246e848ef (diff)
downloadcoreclr-1d34f6293740f4f79f8b362c2d605fa2a527d538.tar.gz
coreclr-1d34f6293740f4f79f8b362c2d605fa2a527d538.tar.bz2
coreclr-1d34f6293740f4f79f8b362c2d605fa2a527d538.zip
Refactoring resource string
This pulls out resource string handling out of mscorrc into top level. The scripts (awk) are now parameterized to generate a unique string table for the given name. Added resourcestring.cpp to create an API "LoadResourceString". Added a few macros into resourcestring.h, which are used for definition/uses of the string table.
Diffstat (limited to 'src/utilcode/crossgen')
-rw-r--r--src/utilcode/crossgen/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utilcode/crossgen/CMakeLists.txt b/src/utilcode/crossgen/CMakeLists.txt
index 1f427e1e63..70981e3214 100644
--- a/src/utilcode/crossgen/CMakeLists.txt
+++ b/src/utilcode/crossgen/CMakeLists.txt
@@ -6,3 +6,6 @@ list(APPEND UTILCODE_SOURCES
add_precompiled_header(stdafx.h ../stdafx.cpp UTILCODE_SOURCES)
add_library(utilcode_crossgen STATIC ${UTILCODE_SOURCES})
+if(CLR_CMAKE_PLATFORM_UNIX)
+ target_link_libraries(utilcode_crossgen nativeresourcestring)
+endif(CLR_CMAKE_PLATFORM_UNIX)