llvm-6502/examples
Reid Kleckner 85ab1e7fe7 CMake: Disable ENABLE_EXPORTS for executables with MSVC
The MSVC linker won't produce a .lib file for an executable that doesn't
export anything, and LLVM doesn't maintain dllexport annotations or .def
files listing all C++ symbols. It also doesn't support exporting all
symbols, like binutils ld.

CMake 3.2 changed the Ninja generator to list both the .exe and .lib
files as outputs of executable build targets. Ninja would always re-link
executables with ENABLE_EXPORTS because the .lib output file was not
present, and therefore the target was out of date.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232662 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-18 20:09:13 +00:00
..
BrainF Fix configure and make build of llvm examples. 2014-09-03 13:12:16 +00:00
ExceptionDemo CMake: Disable ENABLE_EXPORTS for executables with MSVC 2015-03-18 20:09:13 +00:00
Fibonacci Fix configure and make build of llvm examples. 2014-09-03 13:12:16 +00:00
HowToUseJIT llvm/examples: Add missing include according to r230907. 2015-03-02 01:04:34 +00:00
Kaleidoscope Fix the build of the gold-plugin and examples. 2015-03-04 19:15:29 +00:00
ModuleMaker [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
OCaml-Kaleidoscope Move TargetData to DataLayout. 2012-10-08 16:37:04 +00:00
ParallelJIT llvm/examples: Add missing include according to r230907. 2015-03-02 01:04:34 +00:00
CMakeLists.txt Don't try to build ExceptionDemo on ARM. 2014-02-12 21:47:15 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile