[cfe-dev] Clang 3.5 Release Pre-Pre-Pre-Announcement

Yaron Keren yaron.keren at gmail.com
Thu Jun 5 03:36:22 PDT 2014


How about the attached patch? feel free to correct anything, English is
second language for me.


2014-06-05 13:25 GMT+03:00 Gabriel Dos Reis <gdr at integrable-solutions.net>:

>
>
>
> On Wed, Jun 4, 2014 at 12:28 PM, Richard <legalize at xmission.com> wrote:
>
>> In article <CAAiZkiB9iKUcUZvHXv0mDR-H8oY=
>> hyrK3tEN2pPOdMu1cMW+PA at mail.gmail.com>,
>>     Gabriel Dos Reis <gdr at integrable-solutions.net> writes:
>>
>> > Some feedback on Debug vs. non-Debug build.
>> >
>> > I tried a build setup that I haven't seen documented anywhere on Clang's
>> > website (or on The Internet):
>> >     (1) use PowerShell as working shell --
>> > http://en.wikipedia.org/wiki/Windows_PowerShell
>> >     (2) use cmake to generate project files
>>
>> I believe this is documented on this page:
>> <http://llvm.org/docs/GettingStartedVS.html>
>>
>
> No, it is not.  The information there is essentially the same on  <
> http://clang.llvm.org/get_started.html>
>
> The build setup as I explained in the original message had three legs.
>  See Yaron's answer -- that did it.
>
> Being able to build from the command line -- not just from VS *IDE* --
> allows devs to launch builds from labs or build from a dev machine when one
> only has a slow remote connection.
>
> The original issue appears to be a CMake quirk; see:
> http://stackoverflow.com/questions/19024259/how-to-change-the-build-type-to-release-mode-in-cmake
>
> -- Gaby
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140605/c2ce1034/attachment.html>
-------------- next part --------------
Index: docs/GettingStartedVS.rst
===================================================================
--- docs/GettingStartedVS.rst	(revision 210201)
+++ docs/GettingStartedVS.rst	(working copy)
@@ -99,6 +99,9 @@
      build.
    * See the :doc:`LLVM CMake guide <CMake>` for detailed information about
      how to configure the LLVM build.
+   * CMake generates project files for all build types. To select a specific
+     build type, use the Configuration manager from the VS IDE or the 
+     ``/property:Configuration`` command line option when using MSBuild.
 
 6. Start Visual Studio
 


More information about the cfe-dev mailing list