Since I am converting existing makefile project to use cmake instead I need
to accept values that come from command line which looks like this:
VARIABLE_NAME="/home/user/project" make ENV=VERSION_2
First one is used like this:
include $(VARIABLE_NAME)/Makefile.include
Second one has this code
Hello
Thanks for your response. Is there automatic way to know which libraries my
executable will need and which ones it won’t? Why is this the case for only
shared libraries? Is it because the linking symbols are already in that shared
library and I don’t need to link them again if I’m not
I had asked a similar question 2 weeks or so ago. The conclusion, which DID
work well was the following.
Rather than having 1 “large” cmake project with sub libraries.
Use the “super-project” system, where you do an ExternalProject_Add for each of
the projects. Then for the projects that
The library that I am using uses libtool for this purpose I think. This is what
the Makefile to build the application looks like:
$(notdir $(target)): $(objects)
@echo "Linking "$@"..."
@$(libmesh_LIBTOOL) --tag=CXX $(LIBTOOLFLAGS) --mode=link \
$(libmesh_CXX) $(libmesh_CXXFLAGS) $(objects) -o
Hi,
yes, exactly. The easiest way to find out is to simply try it. The linker will
tell you if some symbols need to be resolved. Static libraries are not linked
but only compiled, so the application or library that links to such a static
library must do this step.
If that library you use
To make my question a bit more clear, I am trying to figure out how to add
these things so my make will be able to use them. If I need environment
variable inside the cmake, I could use $ENV{VARIABLE_NAME} and have it.
The problem is to create the code inside the CMakeLists.txt, so that
generated
Craig,
My cmake-based build system in my company's CI framework works exactly that
way: there's a generic cmake script[1] (invoked with cmake -P) that reads
in a file which contains repo-urls and build parameters for 50+ projects
and builds them for 3 platforms (linux, win, mac) 5 compilers
Hi,
Microsoft has released a new toolset using clang for the code analysis
and with VS2015 code generator.
https://blogs.msdn.microsoft.com/vcblog/2015/12/04/clang-with-microsoft-codegen-in-vs-2015-update-1/
Hello Sir/Madam,
Great Day,
I am going to use ITK tool kit for my project,So,i tried to install ITK
tool in my system.But it showing some error when configuring the CMake. And
i have also attached the error.So,please kindly help me to solve this
error.
ITK version-3.20.1
CMake version-2.8.9
--
All,
I originally planned to ask this question directly on this mailing list,
but it got a bit more involved, so I posted it to stackoverflow instead.
I'm interested if anyone can shed some more authoritative light on the
proposed method for the following question:
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 67ca15ff15fe4fd0e8a873ff076517e6d5e312a3 (commit)
via
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 e8c1363ee8f08cf0b36e17f85ddb461abd06e0b6 (commit)
via
On Fri, Apr 01, 2016 at 16:20:10 +0200, Nils Gladitz wrote:
> This might be a use case for the newish IN_LIST operator?
>
> e.g. if(Fortran IN_LIST _LANGUAGES_)
How have I missed this‽
*goes and makes minimum version of all CMake projects 3.3* ;)
--Ben
--
Powered by www.kitware.com
Please
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 c34d7353a1e05cc766394691d166daeac01c84e6 (commit)
via
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 cf723c4cfbf1a71749c7b987a5348034703f91cc (commit)
via
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 128278a644e91110672cd0a3579478dcc1b32d96 (commit)
via
Use the git config `http.sslVerify=false` to disable strict ssl for git
commands.
---
Changes in v2:
- git_options is now a list
Modules/ExternalProject.cmake | 23 +--
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/Modules/ExternalProject.cmake
Am Freitag, 1. April 2016, 16:20:10 schrieb Nils Gladitz:
> On 04/01/2016 02:44 PM, melven.roehrig-zoell...@dlr.de wrote:
> > Patch for a problem with find_package(BLAS/LAPACK) on Windows for pure
> > Fortran projects reported by me in
> > https://cmake.org/Bug/view.php?id=16039.
> This might be a
On Fri, Apr 01, 2016 at 10:58:50 +0100, Samir Benmendil wrote:
> +# set git_options
> +if(NOT tls_verify)
> + set(git_options -c http.sslVerify=false)
> +endif()
Looks good overall, but could this be turned into a pattern like:
set(git_options)
if (NOT tls_verify)
list(APPEND
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 e0cc8bf5d7f82cf38ef5e1a643843e244a8f98d6 (commit)
via
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 05f2ca70ad50d877059a4434fa28ac77c2cb7930 (commit)
via
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 2d226ea895d9ca987e3fc8be897df91033d011a4 (commit)
via
On Fri, Apr 01, 2016 at 12:44:29 +, melven.roehrig-zoell...@dlr.de wrote:
> Patch for a problem with find_package(BLAS/LAPACK) on Windows for pure
> Fortran projects reported by me in
> https://cmake.org/Bug/view.php?id=16039.
Thanks. My patch looks similar (differs in variable names
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 5d94f12a78d259d4453913f345b882067cf45333 (commit)
via
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 de7f2ae3f13c183c534f2298a1452ddd5c6e0aaa (commit)
via
The following issue has been SUBMITTED.
==
https://cmake.org/Bug/view.php?id=16047
==
Reported By:Maurizio Paolini
Assigned To:
On Fri, Apr 01, 2016 at 15:39:26 +0100, Samir Benmendil wrote:
> Use the git config `http.sslVerify=false` to disable strict ssl for git
> commands.
> ---
> Changes in v2:
> - git_options is now a list
Thanks.
I've pushed this into next for testing.
--Ben
--
Powered by www.kitware.com
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 6aadc4a25a07856a81262946b514884df95f795f (commit)
via
On 03/31/2016 10:31 PM, Richard Christie wrote:
> So I've attached an improved fix, which is much simpler:
> it determines whether PYTHON_LIBRARY is a list and extracts
> the optimized library out of it.
Thanks. Please try this code instead:
# If we ran before and reported multiple
The following issue has been SUBMITTED.
==
https://public.kitware.com/Bug/view.php?id=16048
==
Reported By:arlbranch
Assigned To:
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 41abf1828417479588d428032d4639fae53efe53 (commit)
via
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 3b472a4ef95fa7441978a49e3d7684b165e94f99 (commit)
via
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 be3969d6403df287ba6b2c3cb00861baa9e54aea (commit)
via
The following issue has been SUBMITTED.
==
https://cmake.org/Bug/view.php?id=16044
==
Reported By:Gianfranco
Assigned To:
_VERSION_MINOR 5)
-set(CMake_VERSION_PATCH 20160401)
+set(CMake_VERSION_PATCH 20160402)
#set(CMake_VERSION_RC 1)
---
Summary of changes:
Source/CMakeVersion.cmake |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/
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 e7f0fcf2e12610731d1b0ac34db3c0007add1f62 (commit)
via
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 efc7554589418158e24828252816f900fae861b8 (commit)
via
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 5b146672d69eb0fc001d468fb82699a89f73cf3c (commit)
via
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 e929420e7af7d60aab7306f1af3956b31c30737c (commit)
via
Patch for a problem with find_package(BLAS/LAPACK) on Windows for pure Fortran
projects reported by me in https://cmake.org/Bug/view.php?id=16039.
Regards,
Melven
--
Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)
German Aerospace Center
Simulation and Software
The following issue has been SUBMITTED.
==
https://cmake.org/Bug/view.php?id=16046
==
Reported By:stw_sesa
Assigned To:
41 matches
Mail list logo