Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2017-04-24 11:49:54 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-04-24 11:49:54 +0300
commitd67609697e7a857e5e129ed77cceee9b3140d9fb (patch)
tree55642b9a0c322b6a4e5a7f16299455e6b8a2ec87 /intern/locale/CMakeLists.txt
parent6d9a223c90c845b2cdf9f9d6a224e2609d25c32a (diff)
Add C internal version of msgfmt (similar to makesrna/dna binaries).
Fixes performance issues of C++ one with Windows MSVC debug builds... Merely a translation from msgfmt.cc code by @sergey, using BLI libs intead of C++'s stdlib. Reviewers: sergey, campbellbarton, LazyDodo Subscribers: sergey Differential Revision: https://developer.blender.org/D2605
Diffstat (limited to 'intern/locale/CMakeLists.txt')
-rw-r--r--intern/locale/CMakeLists.txt19
1 files changed, 0 insertions, 19 deletions
diff --git a/intern/locale/CMakeLists.txt b/intern/locale/CMakeLists.txt
index 6896702fcbf..cbc75d1ab1f 100644
--- a/intern/locale/CMakeLists.txt
+++ b/intern/locale/CMakeLists.txt
@@ -60,22 +60,3 @@ if(WITH_INTERNATIONAL)
endif()
blender_add_lib(bf_intern_locale "${SRC}" "${INC}" "${INC_SYS}")
-
-# -----------------------------------------------------------------------------
-# Build msgfmt executable
-
-if(CMAKE_COMPILER_IS_GNUCC)
- # workaroud ld.gold linker bug
- string(REPLACE "-fuse-ld=gold" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
-endif()
-
-set(MSFFMT_SRC
- msgfmt.cc
-)
-add_executable(msgfmt ${MSFFMT_SRC})
-
-if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND (NOT (CMAKE_C_COMPILER_VERSION VERSION_LESS 3.4)))
- # needed for clang 3.4+
- target_link_libraries(msgfmt ${PLATFORM_LINKLIBS})
-endif()
-