Commit Graph

38 Commits

Author SHA1 Message Date
Cedric Venet
94fb5f2a70 Make it compile on VC2005:
- update VC projects.
- Add an overload to llvm::Stream for <<, since std::hex and std::dec have type std::ios_base& (*)(std::ios_base&) in VC++. (templating the function don't work, due to ambiguities)
- add ../ on several include in X86/AsmPrinter/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54898 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-17 18:24:26 +00:00
Chris Lattner
d28516e3b1 This replaces all $(SolutionDir) macros with $(ProjectDir)..\
Patch by Nicolas Capens!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53571 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-14 18:46:16 +00:00
Chuck Rose III
d3f506a53a VStudio x64 build fixes. Looks like the x64 projects got out of date and this brings them up to code. I've built the project with these new vcproj files for win32 and x64 both debug and release.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53047 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-02 21:02:51 +00:00
Chuck Rose III
c2bf1870a7 Adding some missing files to VStudio project files. Switching to use generated llvmAsmParser.cpp/.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52935 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-30 22:37:57 +00:00
Ted Kremenek
8e7de8fc58 Update VS project files. The clang executable now depends on the LLVM Analysis library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52789 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-26 17:53:12 +00:00
Chris Lattner
f6af087cb9 "Just a small update for the project files for adding a missing preprocessor
definition for VS2005 (without SP1). It suppress the (bogus) M$ deprecated
warning."

Patch by Cédric Venet!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52530 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-20 05:35:58 +00:00
Devang Patel
0c87f2d824 Revert 51067 check-in for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51155 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-15 18:46:28 +00:00
Chris Lattner
9b43ac042e Update the Win32 project files, patch by Razvan Aciu!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51067 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-13 20:56:51 +00:00
Steve Naroff
0746d50b09 Update vcproj file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47969 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-05 22:30:39 +00:00
Chuck Rose III
1a4ab520d5 Add StringPool + new CodeGen files to win32 build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44805 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-10 19:31:09 +00:00
Chuck Rose III
0ccb93034a This change does a couple of things. First it gets the Visual Studio builds working.
I added the lexing files to the VStudio projects and removed the .l files from the 
VStudio projects.  There was a problem with use of strtoll in TGLexer.cpp and Chris
suggested switching to strtol, so that's included here.

Additionally, this checkin adds minimal x64 builds to the VStudio builds.  Build issues
related to x64 in the windows specific files for DynamicLibrary.inc and Singals.inc
are worked around, but not ultimately solved.  Binaries used to be stored in

...\win32\{Debug|Release}

but are now kept in

...\win32\bin\{win32|x64}\{Debug|Release}

intermediate files will continue to be stored in the individual project directories under 
win32.  

Some names will likely change in the future to reflect that the vstudio projects
are no longer 32-bit only, but I wanted to get things up and running today so kept away
from bigger restructuring.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44260 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-21 00:37:56 +00:00
Hartmut Kaiser
abaff883ba Updated VC++ build system
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43837 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-07 19:34:09 +00:00
Hartmut Kaiser
e476a66761 Updated VC++ build system
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43479 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-29 21:56:15 +00:00
Hartmut Kaiser
b38e795c4f Updated VC++ build system
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43180 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-19 15:51:20 +00:00
Hartmut Kaiser
d9048606c4 Updated VC++ build system
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43123 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-18 12:31:51 +00:00
Hartmut Kaiser
73184fcdc3 Updated VC++ build system.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42835 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-10 19:50:09 +00:00
Chuck Rose III
f5a69fe81f Update win32 VStudio project files to keep pace with recently added and deleted files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41553 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-28 18:59:02 +00:00
Chuck Rose III
7c2c2e71ed Updates to the VStudio project files:
1. Switch from VStudio 2k3 to VStudio 2k5

2. All pdb files now will be placed as $(OutputDir)/$(ProjectName).pdb.  This puts them alongside the 
binaries with the same base name as the binary.  If you need to copy the results of your llvm build 
into another project's tree, this will simplify that process.

3. Recent files added to the tree were added to the proejects within the VStudio project

4. Project build dependency order fixed so that the build can take place in one pass.  A generated
file was not being built at the correct time, causing a build error in about half the projects until
the build was run a second time.

Note you will need flex and bison installed an in your path in order to build properly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40557 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-27 18:20:11 +00:00
Jeff Cohen
0fea8ebb4a Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36901 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-07 15:21:46 +00:00
Jeff Cohen
1d6bf2f580 Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36560 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-29 14:22:14 +00:00
Jeff Cohen
a2150f639c Track new header file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35702 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-06 22:30:07 +00:00
Jeff Cohen
ca5183d445 Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34917 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-05 00:00:42 +00:00
Jeff Cohen
97af751deb Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32113 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 02:22:01 +00:00
Jeff Cohen
d41b30def3 Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31464 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-05 19:31:28 +00:00
Jeff Cohen
784236d778 Keep VC++ building.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26584 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-07 02:58:13 +00:00
Jeff Cohen
9247d0b12b Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25801 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-30 04:07:08 +00:00
Jeff Cohen
e63629071d Visual Studio still has issues with being left out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25389 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-17 05:13:22 +00:00
Jeff Cohen
6f0e680ca6 Turn on string pooling for smaller binaries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24749 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-17 00:14:47 +00:00
Jeff Cohen
b32d785e18 Silence VC++ warnings about using 'this' in base member initializations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19937 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-30 17:54:12 +00:00
Jeff Cohen
2fce6d1a69 Don't exclude FileUtilies and ToolRunner from VC++ build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19748 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-22 16:32:47 +00:00
Jeff Cohen
41ca0b171d Add missing file SystemUtils.cpp to Support project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19228 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-01 21:34:18 +00:00
Jeff Cohen
0a69186802 Add lli project to Visual Studio
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19035 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-19 06:40:39 +00:00
Jeff Cohen
91c3e2d5b3 Enable browse information in Visual Studio
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19034 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-19 02:29:00 +00:00
Jeff Cohen
f33972192d Don't forget about release configuration...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19032 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-18 07:05:59 +00:00
Jeff Cohen
530f887ff2 Rationalize warning suppression. First, 64-bit portability warnings are disabled. The
specific warnings they produced were being suppressed anyway.  The truncation warnings
that were suppressed are now enabled, and the few that still occur ought to be fixed.
The only warnings suppressed now are the "negating an unsigned is still unsigned", the
validity of which Chris does not accept, and the "implicit conversion of <type> to bool
performance warning".  Making the conversion explicit won't make it run any faster and
this is an easier way to shut the compiler up.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19031 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-18 06:55:41 +00:00
Chris Lattner
ffbc58de91 Update the win32 project files, contributed by Morton Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18495 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 19:14:38 +00:00
Reid Spencer
101142970b Update relative files.
Patch contributed by Morten Ofstad.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17828 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-15 17:27:00 +00:00
Reid Spencer
085ea4d39a MS Visual Studio files for building LLVM on Win32 platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17446 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-03 16:13:14 +00:00