[CMake] libsndfile in windows

2017-03-20 Thread aishwarya selvaraj
Hello , To compile my code which uses libsndfile library on windows , i used the cross compiling on linux for windows following the instructions in this : https://github.com/erikd/libsndfile I have cmake_build.sh file . I'm very new to all this , So Could anyone please guide me on what to do next

Re: [CMake] Multiple ELSE() clauses

2017-03-20 Thread Gregor Jasny via CMake
On 3/20/17 12:09 PM, Sergey Zakharchenko wrote: > Rolf, > > 2017-03-20 14:06 GMT+03:00 Rolf Eike Beer : >> https://gitlab.kitware.com/cmake/cmake/issues/14335 > > Since the issue is marked "easy" and it's over 3 years old, I assume > nobody cares? OK then. https://gitlab.kitware.com/cmake/cmake/

Re: [CMake] Is it possible to patch a make project with CMakeLists.txt, through external_project_add?

2017-03-20 Thread Micha Hergarden
Hello Mike, The externalproject_add command has an option that might do what you want: https://cmake.org/cmake/help/v3.8/module/ExternalProject.html See: |PATCH_COMMAND ...| Command to patch downloaded source Regards, Micha On 15-03-17 07:51, mike lojkovic wrote: > So, I'm trying to get

[CMake] CMake and IAR: Assembly files silently ignored

2017-03-20 Thread Lange Norbert
Hello, I am trying to write CMakelists for a Project originally developed in IAR Studio, the startup code is in assembly. Using gcc this works nicely (Linux and Windows), but when using the IAR Compiler the Assembly files aren`t built at all. The files are just ignored and the executable is lin

Re: [CMake] Multiple ELSE() clauses

2017-03-20 Thread Gregor Jasny via CMake
Hello, On 20/03/2017 12:09, Sergey Zakharchenko wrote: Rolf, 2017-03-20 14:06 GMT+03:00 Rolf Eike Beer : https://gitlab.kitware.com/cmake/cmake/issues/14335 Since the issue is marked "easy" and it's over 3 years old, I assume nobody cares? OK then. I can try to fix it. I hope we don't need

Re: [CMake] Multiple ELSE() clauses

2017-03-20 Thread Sergey Zakharchenko
Rolf, 2017-03-20 14:06 GMT+03:00 Rolf Eike Beer : > https://gitlab.kitware.com/cmake/cmake/issues/14335 Since the issue is marked "easy" and it's over 3 years old, I assume nobody cares? OK then. Best regards, -- DoubleF -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [CMake] Multiple ELSE() clauses

2017-03-20 Thread Rolf Eike Beer
Am 2017-03-20 11:57, schrieb Sergey Zakharchenko: Hello, I've just noticed that CMake doesn't forbid multiple ELSE() (not just ELSEIF()) clauses, and proceeds without warnings. IF(1) ELSE() ELSE() ENDIF() Is this expected? https://gitlab.kitware.com/cmake/cmake/issues/14335 -- -- Powered b

[CMake] Multiple ELSE() clauses

2017-03-20 Thread Sergey Zakharchenko
Hello, I've just noticed that CMake doesn't forbid multiple ELSE() (not just ELSEIF()) clauses, and proceeds without warnings. IF(1) ELSE() ELSE() ENDIF() Is this expected? Best regards, -- DoubleF -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: htt