I've updated my patch based on comments in
http://www.cmake.org/Bug/view.php?id=13511#c35015.
Minmin
2014-01-31 Minmin Gong :
> Here comes a new version of this patch. In this version, ARM are also
> supported. Modifications include:
> 1. Determine MSVC ARM compiler.
>Cmake can determine an
2014-01-31 Paul Smith :
> On Fri, 2014-01-31 at 14:24 +0100, Eric Noulard wrote:
>> > We didn't try to integrate it with the build system. We just checked in
>> > the configuration file and a script people could use if they wanted to
>> > re-beautify their code.
>>
>> Would you mind sharing the sc
On Fri, 2014-01-31 at 14:24 +0100, Eric Noulard wrote:
> > We didn't try to integrate it with the build system. We just checked in
> > the configuration file and a script people could use if they wanted to
> > re-beautify their code.
>
> Would you mind sharing the script you used with us?
Sure,
On 2014-01-31 14:24+0100 Eric Noulard wrote:
Would you mind sharing the script you used with us?
Although that question was directed to someone else, you might be
interested in scripts/style_source.sh within the PLplot source code.
There are options to show diffs (or not) and apply the change
Hi all !
First of all, I apologize for my bad english ;)
I'm trying to compile a fat-binaries on OSX using LuaJIT. The problem is
that the doc says I have to add some flags ("-pagezero_size 1
-image_base 1") with a 64bit to not get a segfault, and on the other
hand, it won't compile wi
Thanks to everyone for all the helpful responses. It looks like most of
the ideas were pretty similar to what I was thinking. Glad to know I
wasn't missing anything huge.
I had found UniversalIndentGUI and plan on using it. I had also found
uncrustify and will take a closer look at it.
On Fri
Hello,
I use astyle in my projects but it is not related to build (not a target). I
have a cmake script that I launch using "cmake -P" so I don't have to write too
much .bat or .sh scripts.
This script has the following options (using -D command line parameters):
- folder where to recur
On 2014-01-31 02:01, Rob McDonald wrote:
I'm interested in adding a code beautifier to my project. I'm looking at
AStyle, but am open to others.
Implementing a FindAStyle.cmake is pretty trivial. Likewise, implementing
custom targets is pretty straightforward in the simple case.
However, I th
I'll second (third) the vote for uncrustify over astyle. Astyle doesn't have
enough options to take care of all style issues, with uncrustify you can
configure everything. Also check out clang-format - it only supports 3 styles
(last I checked), but if one of them fit it might be easiest.
Wha
2014-01-31 Leif Walsh :
> What would be a good way to run a tool like this just before compiling?
I'd prefer running such a tool *after* compiling.
If you have a syntax error, your sources can be ruinned.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
What would be a good way to run a tool like this just before compiling? My
naive solution is going to be to add a custom command to run it and touch a
stamp, a target to run that custom command, and then make every single target
in my project depend on that custom target. Is there a less invasiv
On 31/01/14 14:11, Paul Smith wrote:
> On Fri, 2014-01-31 at 02:26 -0800, Alan W. Irwin wrote:
>> And to answer the OP's question, I can highly recommend uncrustify for
>> code styling
> I agree with Alan. We did a huge reformatting effort last year to
> change a very large C++ codebase from a sty
2014-01-31 Paul Smith :
>
> I had to do a bit of scripting around it since uncrustify didn't handle
> all the whitespace conversion we wanted, but it worked great!
>
> We didn't try to integrate it with the build system. We just checked in
> the configuration file and a script people could use if
On Fri, 2014-01-31 at 02:26 -0800, Alan W. Irwin wrote:
> And to answer the OP's question, I can highly recommend uncrustify for
> code styling
I agree with Alan. We did a huge reformatting effort last year to
change a very large C++ codebase from a style based loosely on
Whitesmith to a more com
On Fri, Jan 31, 2014 at 2:01 AM, Rob McDonald wrote:
> All,
>
> I'm interested in adding a code beautifier to my project. I'm looking at
> AStyle, but am open to others.
>
> Implementing a FindAStyle.cmake is pretty trivial. Likewise, implementing
> custom targets is pretty straightforward in th
On 2014-01-31 13:55+0400 Игорь Пашев wrote:
Code formatting is completely out of scope of building system.
I disagree with your attempt to shut off discussion.
Some projects don't use code styling, others run a script
aperiodically to clean up the code (PLplot uses uncrustify that way).
Both
Hi all,
I am currently working on a project that is partially compiled with icc,
under linux.
Some of our libraries are mixing files compiled with gcc/icc, and I am
wondering what is the best way to do that ?
On what I saw on the internet, if you are fully using icc as compiler, the
best is to c
Code formatting is completely out of scope of building system.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, ple
18 matches
Mail list logo