[CMake] Emacs cmake-mode indentation flaw

2017-06-01 Thread Frank Roland
There is probably a faulty indentation implemented in cmake-mode for emacs regarding closing parens. If you have the following source code: foo( bar ) I indents the closing parenwould expect it to be indented like this: foo( bar ) I would expect the single closing paren to be not

[CMake] Using target_link_libraries INTERFACE with static libraries

2017-06-01 Thread Luis Caro Campos
I have the following scenario where I have 2 static libraries, where one uses symbols from the other, and the executable needs to link against both in order to build properly. Library 'Bar' uses symbols from library 'Foo' internally, but 'Foo' is not part of the "interface" of Bar, i.e., the

Re: [CMake] Using target_link_libraries INTERFACE with static libraries

2017-06-01 Thread Mario Werner
Hi Luis, as you correctly concluded, if 'Foo' is not part of the public interface of 'Bar', then the PRIVATE is the correct specifier. However, you don't have to add 'Foo' to the consumers of 'Bar' (e.g., 'MyApp'). If everything works as expected, CMake automatically tracks the link dependency

Re: [CMake] Using target_link_libraries INTERFACE with static libraries

2017-06-01 Thread Luis Caro Campos
Hi Mario, Eureka! I had glanced through that explanation in the past, however, I missed this key piece of information: "For this reason, when A links in B as PRIVATE and another target C links in A, CMake will still add B to the list of libraries to be linked for C because parts of B are needed

[Cmake-commits] CMake branch, master, updated. v3.8.2-1375-g2088ca0

2017-06-01 Thread Kitware Robot
_VERSION_MINOR 8) -set(CMake_VERSION_PATCH 20170601) +set(CMake_VERSION_PATCH 20170602) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

[Cmake-commits] CMake branch, master, updated. v3.8.2-1352-g75850db

2017-06-01 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 75850db66758ccdb4500ca0d580a2b97215a9357 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.8.2-1371-g860db08

2017-06-01 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 860db083cafb1337147923f7dd21b57767abbee3 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.8.2-1374-g6a42b96

2017-06-01 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 6a42b9609f1d0a047394a8d63fb8ddb803abce34 (commit) via