[CMake] install target problem on Mac

2016-04-26 Thread Robert Bielik
Using Cmake 3.0.1 I have a dynlib target: ADD_LIBRARY(myDynlib SHARED ${SOURCES}) and INSTALL(TARGETS myDynlib LIBRARY DESTINATION ${OUTPUT_PATH}/lib ) however, building the install target, no files end up in ${OUTPUT_PATH}/lib . Help? /R -- Powered by www.kitware.com Please keep

Re: [CMake] install target problem on Mac

2016-04-26 Thread Robert Bielik
Updated to CMake 3.5.2, and now the same CmakeLists.txt works fine. Oh well :) Rgrds /R -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Bielik Sent: den 26 april 2016 11:18 To: cmake@cmake.org Subject: [CMake] install target problem on Mac Using

[CMake] Cmake 3.5.2 update problem

2016-04-26 Thread Jakob van Bethlehem
Dear users, Today I tried to bootstrap our app with CMake 3.5.2. Unfortunately it caused problems in one of our custom functions we created. This is for the Visual Studio 2013 64bit generator. We have a function to create tests that accepts an 'INCLUDES' parameter, and we tend to use generator

Re: [CMake] How to link shared lib on windows (visual studio 2014).

2016-04-26 Thread Chaos Zhang
Thanks again Mr. Atkins. Chuck Atkins wrote > May others have mentioned the various different ways to address generating > import libraries. One thing that will help with the "can't find .dll" > issue is to change the default location that various components end up. > With Windows shared

[CMake] Separated Windows installers with CPack / NSIS

2016-04-26 Thread Trystan Louboutin
Hi, I want to generate multiple Windows installers with CPack / NSIS (CMake v3.5.2). Each one will embed the same executable (same CMake project) but with different configurations and documents. I tried with separated components and played with many options like - CPACK_NSIS_MONOLITHIC_INSTALL

Re: [CMake] How to link shared lib on windows (visual studio 2014).

2016-04-26 Thread Chaos Zhang
Hi, all, Thanks for your sincerely help, and i understand it clearly now. ( ^_^ ) Best regards, Chao J. Caleb Wherry wrote > (Shameless plug ahead) > > If you want to see a working example of what I said above, you can check > out my ExampleCMakeProject: > >

Re: [CMake] How to link shared lib on windows (visual studio 2014).

2016-04-26 Thread Chuck Atkins
May others have mentioned the various different ways to address generating import libraries. One thing that will help with the "can't find .dll" issue is to change the default location that various components end up. With Windows shared libraries, you have both a runtime component (.dll) and a

[CMake] project command not working, when used via macro (from an included file)

2016-04-26 Thread aj neu
Hi, when calling `project` ...as seen here ... https://github.com/ajneu/cmake_project_via_macro/blob/5972c7362e11fdbaa09d9defe8cca2dcea79e606/CMakeLists.txt#L33 everything is ok. BUT when calling `project` via a macro (that was included) ... as seen here ...

Re: [CMake] project command not working, when used via macro (from an included file)

2016-04-26 Thread Chuck Atkins
ajneu, The call to project(...) needs to be explicit. See https://cmake.org/cmake/help/v3.5/command/project.html: The top-level CMakeLists.txt file for a project must contain a literal, direct call to the project()

[CMake] Install with full absolute path on OS X

2016-04-26 Thread Michael Jackson
I am building a library and installing onto the local system. After installation otool reports that the path is "@rpath/lib/libEMsoft.dylib" How can I have the installed path be the full absolute path to the library. For this use case @rpath is not going to work. I have tried

Re: [CMake] Install with full absolute path on OS X

2016-04-26 Thread clinton
To set the install name to an absolute path, it would probably be something like set_property(TARGET EMsoft PROPERTY INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib) Clint - On Apr 26, 2016, at 12:24 PM, Michael Jackson wrote: > I am building a library and

Re: [CMake] How to set link option

2016-04-26 Thread Magnus Therning
vakano writes: > Hi, > > I have some link option as below: > > -Wl, -rpath, ${PROJECT_TOP}/dist ../proj_a/lib_a.a -lb -Wl, --whole-archive > ../proj_c/lib_c.a What have you tried? /M -- Magnus Therning OpenPGP: 0x927912051716CE39 email:

Re: [CMake] How to check if Eclipse CDT4 generated project is set up correctly?

2016-04-26 Thread Nils Rathmann
Hi Martin, Thanks, I had a look at the marketplace and tried the available plugins. I already use CMakeEd for syntax highlighting and auto-completion while editing cmake files, but the other options seem to me like an alternative to the cmake generated Eclipse project. cmake4eclipse is a good

[cmake-developers] [CMake 0016083]: ExternalProject with empty GIT_SUBMODULES does not initialize submodules of submodules

2016-04-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == https://cmake.org/Bug/view.php?id=16083 == Reported By:Ilya Assigned To:

Re: [cmake-developers] Integration of clang-tidy

2016-04-26 Thread Daniel Pfeifer
On Mon, Apr 11, 2016 at 5:26 PM, Brad King wrote: > On 04/08/2016 06:31 PM, Daniel Pfeifer wrote: >> I implemented the integration of `clang-tidy` along the lines of the >> `include-what-you-use` integration. >> There is a new `_CLANG_TIDY` target property that is

[Cmake-commits] CMake branch, master, updated. v3.5.2-510-ga594b79

2016-04-26 Thread Kitware Robot
_VERSION_MINOR 5) -set(CMake_VERSION_PATCH 20160426) +set(CMake_VERSION_PATCH 20160427) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

[cmake-developers] [CMake 0016082]: Support alternative download URL in ExternalProject_Add

2016-04-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == https://public.kitware.com/Bug/view.php?id=16082 == Reported By:A. Klitzing Assigned To:

[Cmake-commits] CMake branch, next, updated. v3.5.2-1089-ga7e7a045

2016-04-26 Thread Brad King
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, next has been updated via a7e7a045f88eaa2379e5b6126ce4e4b042739c92 (commit) via