diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-03-22 15:44:38 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-03-22 15:44:38 +0000 |
commit | 24f7e36800af169c42ae73338ca72f76dc695f14 (patch) | |
tree | c01dd3576e97c433a98f1e0475916b6bdfa8d8a7 | |
parent | 93ea5cb0edf8e509c5113e70cb05ee247c9bdf6b (diff) |
Use DEFINE_SYMBOL property to control dllexport/dllimport
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99176 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/CIndex/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/CIndex/CMakeLists.txt b/tools/CIndex/CMakeLists.txt index e94a786837..6aa7a57983 100644 --- a/tools/CIndex/CMakeLists.txt +++ b/tools/CIndex/CMakeLists.txt @@ -43,10 +43,10 @@ if(MSVC) # windows.h doesn't compile with /Za get_target_property(NON_ANSI_COMPILE_FLAGS CIndex COMPILE_FLAGS) string(REPLACE /Za "" NON_ANSI_COMPILE_FLAGS ${NON_ANSI_COMPILE_FLAGS}) - set(NON_ANSI_COMPILE_FLAGS "${NON_ANSI_COMPILE_FLAGS} /D_CINDEX_LIB_") set_target_properties(CIndex PROPERTIES COMPILE_FLAGS ${NON_ANSI_COMPILE_FLAGS}) endif(MSVC) set_target_properties(CIndex PROPERTIES - LINKER_LANGUAGE CXX) + LINKER_LANGUAGE CXX + DEFINE_SYMBOL _CINDEX_LIB_) |