Re: [CMake] Visual Studio solution folders with 1 item in them

2015-07-22 Thread Andrei Porumb
What you are suggesting will add some previously build targets to the solution inside a solution folder. What I want is to simply have a file inside a solution folder. Best Regards, Andrei Porumb "a skhizein equals to 1 software rename/dev cycle" From: J Decker [mailto:d3c...@gmail.com] Sent:

Re: [CMake] Visual Studio solution folders with 1 item in them

2015-07-22 Thread J Decker
globally set set_property(GLOBAL PROPERTY USE_FOLDERS On) SET_TARGET_PROPERTIES( PROPERTIES FOLDER "folder name" ) On Wed, Jul 22, 2015 at 3:04 PM, Andrei Porumb wrote: > Hello CMake, > > > > Thank you for everything so far! > > > > I am m

[CMake] Visual Studio solution folders with 1 item in them

2015-07-22 Thread Andrei Porumb
Hello CMake, Thank you for everything so far! I am migrating some cross platform projects to CMake. Naturally our devs (myself included) like things to look "in a certain way". And if "certain way" can be produced by CMake then adoption is smoothened.

[CMake] Changes to CMAKE_CXX_FLAGS_RELEASE not reflected in GUI

2015-07-22 Thread digitalriptide
Dear CMake Community, I would like to add an extra flag to CMAKE_CXX_FLAGS_RELEASE (-xHost for Intel compilers), so in my CMakeLists.txt I add: set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -xHost" ) If I then run VERBOSE=1 make, I observe that the xHost flag is passed to the compiler.

Re: [CMake] CTest threshold exceeds 1024 bytes

2015-07-22 Thread Brad King
On 07/21/2015 06:16 PM, Roman Wüger wrote: > I've attached a patch which learns CTest to handle it. > I hope this patch could be merged. Good start. Please also update Help/manual/ctest.1.rst with documentation for the new options. Also please extend the test suite, likely in Tests/RunCMake/CTes

Re: [CMake] Fortran build dependency on Windows

2015-07-22 Thread Allen Byrne
Consider this issue closed - all Nightly tests succeeded. Thank You very much! Allen On Tuesday, July 21, 2015 04:17:39 PM Brad King wrote: > On 07/21/2015 01:06 PM, Brad King wrote: > > It looks like OBJECT_DEPENDS is not fully implemented for VS >= 10. > > I'll look at fixing that. > > It t

Re: [CMake] find_package and lib/cmake/Foo

2015-07-22 Thread Biddiscombe, John A.
Robert > Have you tried setting CMAKE_PREFIX_PATH < That seems to work. I will use it from now on. Thanks JB -- 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 co

Re: [CMake] Linking error after having found a package

2015-07-22 Thread Cedric Doucet
I'm afraid you're right. :-/ It works fine now. Thank you very much Eric! - Mail original - > De: "Eric Noulard" > À: "Cedric Doucet" > Cc: cmake@cmake.org > Envoyé: Mercredi 22 Juillet 2015 14:31:22 > Objet: Re: [CMake] Linking error after having found a package > 2015-07-22 14:24

Re: [CMake] Linking error after having found a package

2015-07-22 Thread Eric Noulard
2015-07-22 14:24 GMT+02:00 Cedric Doucet : > > Hello, > > I try to use the find_package function to find BLAS and LAPACK libraries > which are required in my code. > > To do that, I do the following: > > == > FIND_PACKAGE(BLAS) > FIND_PACKAGE(LAPACK) > > # I should test with BL

[CMake] Linking error after having found a package

2015-07-22 Thread Cedric Doucet
Hello, I try to use the find_package function to find BLAS and LAPACK libraries which are required in my code. To do that, I do the following: == FIND_PACKAGE(BLAS) FIND_PACKAGE(LAPACK) # I should test with BLAS_FOUND and LAPACK_FOUND here but that's not the problem

Re: [CMake] config-specific compiler definitions don't work properly

2015-07-22 Thread Xi Yang
Hi: It solved the compiler definitions. However, when I come to work with library, it came with further errors. In my project, we have an extra configuration named GraphicDebug. I want to have my project to use different library files which are compiled using different options. Firstly I tri