Re: [CMake] Combining two static libraries into one

2019-07-03 Thread vinay kumar Kotegowder
way of checking the relation between lib1 and lib2 ? Separately and after using INTERFACE option with lib1 and lib2. - Vinay On Tue, Jul 2, 2019 at 8:48 PM Kyle Edwards wrote: > > On Tue, 2019-07-02 at 20:44 +0530, vinay kumar Kotegowder wrote: > > Hi Everyone, > > > >

Re: [CMake] Combining two static libraries into one

2019-07-03 Thread vinay kumar Kotegowder
of checking the relation between lib1 and lib2 ? Separately and after using INTERFACE option with lib1 and lib2 Regards, Vinay On Tue, Jul 2, 2019 at 8:48 PM Kyle Edwards wrote: > > On Tue, 2019-07-02 at 20:44 +0530, vinay kumar Kotegowder wrote: > > Hi Everyone, > > > >

[CMake] Moving build artifacts to custom directory

2019-07-02 Thread vinay kumar Kotegowder
Hi Everyone, How do I move the build artifacts(ELFs, Static libraries, custom intermediate files) to custom folder at the build of "cmake --build ." ? Also does "cmake --build . -- clean" takes care of cleaning these build artifacts from the directory to which they previously moved? Regards, Vin

[CMake] Combining two static libraries into one

2019-07-02 Thread vinay kumar Kotegowder
Hi Everyone, I have a requirement on combining two static library into one. Can anyone tell me how can I achieve this? Regards, Vinay -- 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

[CMake] String CONCAT issue

2019-06-27 Thread vinay kumar Kotegowder
Hello, The snippet: set(SUITE_DIR /home/../abc) list(APPEND TEST_LSIT test_a001) foreach(test ${TEST_LIST}) message(${test}) string(CONCAT TEST_CMAKE "${SUITE_DIR}/" "${test}/test.cmake") message(${TEST_CMAKE}) endforeach() Output: test_a001 /home/.../abc/test_a001

[CMake] Trouble with running cmake on MinGW

2019-06-08 Thread vinay kumar Kotegowder
Hi Everyone, I am trying to run cmake project on MinGW. I get the below error: [ 91%] Linking C executable test_m001.secure.elf.exe c:/progra~2/gnutoo~1/72018-~1/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: unrecognized option '--major-image-version' c:/progra~2/gnutoo~

Re: [CMake] find_program usage

2019-06-04 Thread vinay kumar Kotegowder
, 2019 at 7:12 PM Kyle Edwards wrote: > > On Tue, 2019-06-04 at 19:07 +0530, vinay kumar Kotegowder wrote: > > Hi Everyone, > > > > This is simple code running on Windows machine: > > > > if(WIN32) > > message(STATUS "On windows") > >

[CMake] find_program usage

2019-06-04 Thread vinay kumar Kotegowder
Hi Everyone, This is simple code running on Windows machine: if(WIN32) message(STATUS "On windows") find_program(_TOOL arm-none-eabi-gcc.exe PATHS "C:" ) endif() message(STATUS "${_TOOL}") Result after executing: cmake -P mycmake.cmake -- On windows