[CMake] Adding dependencies for configuration stage

2016-08-19 Thread Daniel Levin
CMake can automatically invoke configuration at build time when any dependency has been modified. For instance, after you edited CMakeLists.txt. Of when you used add_subdirectory() and edited nested CMakeLists.txt. Or if you have include("myscript.cmake") and modified myscript.cmake. I am curious

Re: [CMake] latest cmake 3.6.1 building in AIX can not find symbol `.w32attrset`

2016-08-19 Thread Chuck Atkins
Hi Zeson, We do have a nightly build on AIX with both GCC and IBM XL. It does build correctly using curses instead ncurses, as you mention, but the machine we use doesn't have ncurses on it, only curses, so it doesn't have this problem of accidentally finding the wrong curses library. When configu

[CMake] test dependencies and CTest -I

2016-08-19 Thread Lowekamp, Bradley (NIH/NLM/LHC) [C]
Hello, I am trying to get ctest working on CircleCI with multiple concurrent containers. The following command works for many cases: ctest -j 2 -I ${CIRCLE_NODE_INDEX},,${CIRCLE_NODE_TOTAL} unless there are dependencies specified between tests via something like: set_property(TEST B APPEND

Re: [CMake] Private dependencies of static libraries exported as targets

2016-08-19 Thread Ivan Shapovalov
That's very nice; thanks! --  Ivan Shapovalov / intelfx / On 2016-08-18 at 15:29 +0200, Tamás Kenéz wrote: > Ivan, > > > > > But, if library `foo` is built as static, then its clients suddenly > > become required to link to `bar` as well, and this information is > > not > > recorded anywhere! >

Re: [CMake] Suppressing policy warnings

2016-08-19 Thread Nils Gladitz
On 08/19/2016 11:18 AM, Robert Bielik wrote: Hi, I'm currently using CMake 3.5.0 and I get TONS of CMP0054 policy warnings. So I set the policy: cmake_policy(SET CMP0054 OLD) in top level CMakeLists.txt file. Nothing happens. I STILL get TONS of warnings. Help ? cmake_minimum_required(VER

[CMake] Suppressing policy warnings

2016-08-19 Thread Robert Bielik
Hi, I'm currently using CMake 3.5.0 and I get TONS of CMP0054 policy warnings. So I set the policy: cmake_policy(SET CMP0054 OLD) in top level CMakeLists.txt file. Nothing happens. I STILL get TONS of warnings. Help ? Regards /Robert -- Powered by www.kitware.com Please keep messages on-to

[CMake] latest cmake 3.6.1 building in AIX can not find symbol `.w32attrset`

2016-08-19 Thread Zeson Wu
> > /usr/bin/g++-Wl,-bnoipath -Wl,-brtl CMakeFiles/ccmake.dir/ > CursesDialog/cmCursesOptionsWidget.cxx.o CMakeFiles/ccmake.dir/ > CursesDialog/cmCursesBoolWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/ > cmCursesCacheEntryComposite.cxx.o > CMakeFiles/ccmake.dir/CursesDialog/cmCursesDummyWid