Re: [CMake] CMake in Vim

2013-09-30 Thread Jacky Alciné
On Sat September 28 2013 8.15.05 PM Clifford Yapp wrote:
 On Thu, Sep 26, 2013 at 4:39 PM, Jacky Alciné jackyalc...@gmail.com wrote:
  Hey all,
  
  I’ve been working on a Vim plug-in for Cmake. It provides a bit of support
  but it’s on the rise and I’d love to hear from the Vim + Cmake users
  about it.
  
  http://jalcine.github.io/cmake.vim/
  
  Cheers!
 
 So we can put this in context, how does the functionality of this
 plugin relate to the functionality from these files?
 
 http://www.cmake.org/CMakeDocs/cmake-syntax.vim
 http://www.cmake.org/CMakeDocs/cmake-indent.vim
 
 I.e. is it complementary, is it intended to replace the above two files,
 etc.
 
 Thanks,
 CY
 --

Hey CY,

So it’s not meant to replace those two files. However, now that you point them 
out; I could add them into the plug-in to provide them if not already found. 
Thanks for pointing these two gems out!

-- 
Jacky Alciné - 0x201999FC - http://jalcine.me

The human race has one really effective weapon, and that is laughter. - Mark 
Twain

signature.asc
Description: This is a digitally signed message part.
--

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, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CMake in Vim

2013-09-30 Thread Jacky Alciné
On Sat September 28 2013 9.50.30 PM Magnus Therning wrote:
 On Thu, Sep 26, 2013 at 04:39:06PM -0400, Jacky Alciné wrote:
  Hey all,
  
  I've been working on a Vim plug-in for Cmake. It provides a bit of
  support but it's on the rise and I'd love to hear from the Vim +
  Cmake users about it.
  
  http://jalcine.github.io/cmake.vim/
 
 This is excellent to hear.  At the moment I'm not working on any
 project that uses CMake, but that's likely to change as soon as I can
 make it happen ;-)  I'll make sure to try your plugin out properly
 then.  For now here are some things that impressed me:
 
 1. The initial quote on http://jalcine.github.io/cmake.vim/ is a
lovely way to set the stage for the introduction of the plugin :)
 
 2. My first thought when reading your email in here was I wonder if I
can install it via Vundle, and reading the section on installation
brought joy.
 
 Sorry for not being able to actually take it for a proper spin at the
 moment, but hopefully you don't find my email a complete waste of bits
 
 :)
 
 /M

Haha, love to hear it! I’m  working to change the README to  a bit more 
meaningful and provide some insight into what it does exactly.

-- 
Jacky Alciné - 0x201999FC - http://jalcine.me

The human race has one really effective weapon, and that is laughter. - Mark 
Twain

signature.asc
Description: This is a digitally signed message part.
--

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, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CMake in Vim

2013-09-28 Thread Magnus Therning
On Thu, Sep 26, 2013 at 04:39:06PM -0400, Jacky Alciné wrote:
 Hey all,
 
 I’ve been working on a Vim plug-in for Cmake. It provides a bit of
 support but it’s on the rise and I’d love to hear from the Vim +
 Cmake users about it.
 
 http://jalcine.github.io/cmake.vim/

This is excellent to hear.  At the moment I'm not working on any
project that uses CMake, but that's likely to change as soon as I can
make it happen ;-)  I'll make sure to try your plugin out properly
then.  For now here are some things that impressed me:

1. The initial quote on http://jalcine.github.io/cmake.vim/ is a
   lovely way to set the stage for the introduction of the plugin :)

2. My first thought when reading your email in here was I wonder if I
   can install it via Vundle, and reading the section on installation
   brought joy.

Sorry for not being able to actually take it for a proper spin at the
moment, but hopefully you don't find my email a complete waste of bits
:)

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus

If our ideas of intellectual property are wrong, we must change them,
improve them and return them to their original purpose. When
intellectual property rules diminish the supply of new ideas, they
steal from all of us.
 -- Andrew Brown, November 19, 2005, The Guardian


pgpbeiJR4DvWl.pgp
Description: PGP signature
--

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, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CMake in Vim

2013-09-28 Thread Marc Weber
You want feedback?
First: You're false. CMAKE is not the *only* way to build C/C++
projects.
In fact I've tried rewriting the make system of Vim using cmake and ran
into trouble then gave up because it would have taken too much time.

Adding includes for invividual .c files is a major problem.
Should be easy to find my bug report. There are quite a lot of
additional solutions for problems, such as ninja etc.
Maybe it was resolved, maybe not.

cmake has a horrible macro language. Even simple tests are hard to write
unless you can use an existing module.

If you don't believe me proof me wrong and rewrite the configure system
of Vim :)

But I agree that it it does build many common things easily. I myself
turned a big project and made it be built by cmake.

But please think twice about using words like the only.

Interesting alternatives takes on building software:
http://gittup.org/tup/
https://github.com/apenwarr/redo
(googling for those names at once may yield litss with additional
interesting projects)

I also wrote a make like system:
github.com/MarcWeber/rumake which can tell you how long a second build
is likely to last by taking into account previous runs and it will
rebuild a target if the build command changes. (I'm not sure its that
useful to others. I wrote it to solve one problem).

Neither cmake nor autoconf support parallel configuring.
If you're interested I can sent you a very simple ruby code which
ilustrates how such systme could look like.

 http://jalcine.github.io/cmake.vim/
The only feature I can see is
:CmakeCreateProject build-dir-name
so I guess it does not much more than running
( cd $buildDir; cmake $orig-dir) ?

Try to make it clearer what the project provides and what not.
Thus: why should a user install your plugin?

without plugin you have to do:
  this..
  this..
  this..

using your plugin:
  this (much shorter?)

The the user sees immediate benefit. Users who are interested in your
plugin should already know cmake.

Plugins you eventually want to know about:
https://github.com/MarcWeber/vim-addon-errorformats
An alternative way to spceify error formats only.

https://github.com/MarcWeber/vim-addon-action://github.com/MarcWeber/vim-addon-actions
An alternative way to to bind two actions:
  1) set errorformat (using the previously mentioned plugin)
  2) run make (eg in background)

to a key or F2, F3, F4 or buf write.

If you make me understand why your plugin is needed I'll add a short
summary to my wiki (everybody is welcome to contribute to it):
http://vim-wiki.mawercer.de/wiki/index.html

Keep on announcing your work and what you do. People are listening :)

Take care
Marc Weber
--

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, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] CMake in Vim

2013-09-28 Thread Clifford Yapp
On Thu, Sep 26, 2013 at 4:39 PM, Jacky Alciné jackyalc...@gmail.com wrote:
 Hey all,

 I’ve been working on a Vim plug-in for Cmake. It provides a bit of support but
 it’s on the rise and I’d love to hear from the Vim + Cmake users about it.

 http://jalcine.github.io/cmake.vim/

 Cheers!

So we can put this in context, how does the functionality of this
plugin relate to the functionality from these files?

http://www.cmake.org/CMakeDocs/cmake-syntax.vim
http://www.cmake.org/CMakeDocs/cmake-indent.vim

I.e. is it complementary, is it intended to replace the above two files, etc.

Thanks,
CY
--

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, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[CMake] CMake in Vim

2013-09-26 Thread Jacky Alciné
Hey all,

I’ve been working on a Vim plug-in for Cmake. It provides a bit of support but 
it’s on the rise and I’d love to hear from the Vim + Cmake users about it.

http://jalcine.github.io/cmake.vim/

Cheers!

-- 
Jacky Alciné - PGP: 201999FC
http://jalcine.me

signature.asc
Description: This is a digitally signed message part.
--

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, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[CMake] cmake syntax vim

2007-05-22 Thread Mathieu Malaterre

Hello there,

 I would like to know how one is supposed modify the cmake syntax file:

http://www.cmake.org/CMakeDocs/cmake-syntax.vim

 How can I submit my changes ?

Thanks,
--
Mathieu
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake