Re: [cmake-developers] Native Compilers

2017-09-26 Thread Kevin Funk
On Monday, 25 September 2017 20:39:01 CEST Ivam Pretti wrote:
> When you use cmake-gui, below the button configure  there is an option to
> choose the compiler. This compilers are alredy intalled with cmake or it
> needs to install separetely?
> 
> Another question, when you specify a for example kdevelop files is it
> necessary to run at kdevelop to get the executables files?

Heya,

Not sure if you took KDevelop just as an example, but let me clarify that the 
generator for the KDevelop project files is unmaintained (to my knowledge). 
[1]

For the latest versions of KDevelop (4.x, 5.x), it's no longer necessary to 
use this generator to import the project into this IDE. Under newer KDevelop 
you can simply import the CMake project via the user interface -- everything 
else is handled automatically.

You still need a compiler though :)

Regards,
Kevin
(one of the KDevelop maintainers)


[1] In fact, I wonder if we should just ditch that generator altogether(?)

-- 
Kevin Funk | kf...@kde.org | http://kfunk.org

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://public.kitware.com/mailman/listinfo/cmake-developers

Re: [cmake-developers] QtAutoGenerators output in Ninja

2016-07-12 Thread Kevin Funk
On Tuesday, July 12, 2016 10:43:52 AM CEST Daniel Pfeifer wrote:
> Hi,
> 
> CMake currently puts messages like "Generating moc source" into the
> buildlog. This conflicts with the convention "no output == all good".

+1

> The messages blend nicely in the colorful output of Unix Makefiles,
> but when using the Ninja generator, they create quite some noise.

Indeed.

> How can this be improved?
> * remove the messages (no output == all good)
> * add an option to silence them
> * add an option to show them and hide them per default
> * ...

While it probably still makes sense to have it for Unix Makefiles; can we just 
disable this particular output in case Ninja files are used?

After all it's just a call to `cmake -E cmake_autogen`, right? Can we 
parameterize this call?

Just my 2 ct.

Cheers,
Kevin

> Cheers, Daniel


-- 
Kevin Funk | kf...@kde.org | http://kfunk.org

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://public.kitware.com/mailman/listinfo/cmake-developers

Re: [cmake-developers] Assertion hit in CMake for KDevelop on Ubuntu

2016-01-14 Thread Kevin Funk
On Wednesday, January 13, 2016 10:16:44 PM Alexander Neundorf wrote:
> On Wednesday, January 13, 2016 10:16:23 Robert Dailey wrote:
> > Running version 3.2.2 on Ubuntu 15. I run the following command:
> > 
> > $ cmake .. -G"KDevelop3" -DCMAKE_C_COMPILER=gcc-4.9
> > -DCMAKE_CXX_COMPILER=g++-4.9 -DCMAKE_BUILD_TYPE=$config
> > -DCMAKE_TOOLCHAIN_FILE="../toolchains/linux_i686.toolchain.cmake"
> 
> are you sure you actually want to use the KDevelop3 generator ?
> This is for the KDE3 version, and you are probably using the KDE4 version of
> KDevelop ? For that you don't need these generated project files.
> 
> Actually I was thinking about removing this generator, because KDevelop3 is
> really really old, not sure whether it is still available in current Linux
> distributions.
> 
> Alex

+1 from my side, KDevelop 3 is super ancient (last release around 2008 
according to the interwebs). Get rid off the generator.

Cheers,
Kevin

-- 
Kevin Funk | kf...@kde.org | http://kfunk.org

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://public.kitware.com/mailman/listinfo/cmake-developers

Re: [cmake-developers] Assertion hit in CMake for KDevelop on Ubuntu

2016-01-13 Thread Kevin Funk
On Wednesday, January 13, 2016 12:44:59 PM Robert Dailey wrote:
> On Wed, Jan 13, 2016 at 12:36 PM, Brad King <brad.k...@kitware.com> wrote:
> > On 01/13/2016 11:16 AM, Robert Dailey wrote:
> >> Running version 3.2.2 on Ubuntu 15. I run the following command:
> > [snip]
> > 
> >> cmake: ../../Source/cmTarget.cxx:722: void
> >> cmTarget::GetSourceFiles(std::vector<std::__cxx11::basic_string
> >> 
> >>> &, const string&) const: Assertion `this->GetType() !=
> >> 
> >> INTERFACE_LIBRARY' failed.
> >> ../frontend/Core/CMake/helper-scripts/kdevelop-linux.sh: line 13:
> >> 21545 Aborted (core dumped) cmake "$DIR/../../.."
> > 
> > Please try running with CMake 3.4 or 'master' to see if it still
> > happens.  There has been substantial refactoring of this code
> > since 3.2.
> > 
> > Thanks,
> > -Brad
> 
> 3.4 isn't available to me on Ubuntu 15; do you have a custom PPA I can
> add to grab the latest CMake debian package?

There are pre-built binaries here:
  https://cmake.org/download/

I also use them on Ubuntu, no issues.

Cheers,
Kevin

-- 
Kevin Funk | kf...@kde.org | http://kfunk.org

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://public.kitware.com/mailman/listinfo/cmake-developers

Re: [cmake-developers] Problems with CMake-master and OBJECT libraries

2014-04-14 Thread Kevin Funk
On Sunday 13 April 2014 11:07:21 Stephen Kelly wrote:
 Kevin Funk wrote:
  I see that there was some discussion wrt this on the cmake ML, [3], but
  actually I lack the CMake foo in order to understand this discussion's
  implications. At any rate, I don't think the above behavior is intended,
  is it?
 
 Nope, that's a bug.
 
 I've merged a fix into next for testing.
 
 Thanks,
 
 Steve.

Thanks,

note that there is also a small typo in your help text regarding CMP0051.

Watch out for STRIP_GENEX.

Cheers

-- 
Kevin Funk
-- 

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


[cmake-developers] Problems with CMake-master and OBJECT libraries

2014-04-11 Thread Kevin Funk
Hey guys,

Recently I've started porting internal KDevelop libraries to OBJECT libraries.
The CMake code I've written seems to work fine with v2.8.12.2 (what I have on 
my system, locally) but apparently fails with recent CMake-master (which is 
installed on the KDE CI).

The error I get on the CI [1] is:


CMake Internal Error (please report a bug):
  Missing cmGeneratorTarget instance!


CMake Error at /srv/jenkins/install/linux/x86_64/g++/latest-
qt4/kde/kdelibs/inst/share/apps/cmake/modules/KDE4Macros.cmake:1010 
(add_executable):
  Error evaluating generator expression:

$TARGET_OBJECTS:kdevclangcodecompletion

  Objects of target kdevclangcodecompletion referenced but no such target
  exists.
Call Stack (most recent call first):
  /srv/jenkins/install/linux/x86_64/g++/latest-
qt4/kde/kdelibs/inst/share/apps/cmake/modules/KDE4Macros.cmake:862 
(kde4_add_executable)
  tests/CMakeLists.txt:24 (kde4_add_unit_test)


The relevant code is here: [2]

I see that there was some discussion wrt this on the cmake ML, [3], but 
actually I lack the CMake foo in order to understand this discussion's 
implications. At any rate, I don't think the above behavior is intended, is 
it?

Greets

[1] http://build.kde.org/view/kdevelop/job/kdev-clang_master/5/console
[2] 
http://quickgit.kde.org/?p=kdev-clang.gita=treehb=22e0c136a252813ff0732eba25bda79d89173682
[3] 
http://public.kitware.com/pipermail/cmake-developers/2014-February/009838.html

-- 
Kevin Funk
-- 

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers