On 11/15/2010 06:41 PM, Marek Szuba wrote:
On Mon, 15 Nov 2010 12:00:04 -0500
cmake-requ...@cmake.org wrote:
How do you select which of the libraries to use? Based on your
Fortran compiler?
To be exact, based on the Fortran compiler used to build the
binary-only library.
If so, I would
I followed the tutorial at
http://www.cmake.org/Wiki/Eclipse_CDT4_Generator in order to generate an
Eclipse project.
The only difference is that I select eclipseCDT - MiinGW Makefiles
instead of eclipseCDT -Unix Makefiles.
What I don't understand is how can I manage multiple configurations in
Great, it's working. The only thing that was required was:
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER David Doria)
Here is the working example:
http://www.cmake.org/Wiki/CMake/CPack/Examples/Linux/DEB
The page you sent
(http://www.vtk.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29)
has a
Hi all,
I found the Qt example here:
http://www.itk.org/Wiki/BundleUtilitiesExample
http://www.itk.org/Wiki/images/2/25/QtTest-Package-Example.zip
The two INSTALL commands seem fairly complicated - is there not a way
to do all of that in the project-to-be-included's cmake configuration
so that
You really can't, unfortunately because only one configuration is possible
per CMake build directory with the Makefile generator. Most people set
CMAKE_BUILD_TYPE to Debug when using the Eclipse CDT4 Generator so they can
debug.
If you need to test regularly with release binaries, one solution
2010/11/16 David Doria daviddo...@gmail.com:
Great, it's working. The only thing that was required was:
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER David Doria)
Here is the working example:
http://www.cmake.org/Wiki/CMake/CPack/Examples/Linux/DEB
The page you sent
I'm trying to compile a static library named libkernel.a into a custom
path. I tried to set ARCHIVE_OUTPUT_DIRECTORY in two ways:
1:
set_property(TARGET PROPERTY ARCHIVE_OUTPUT_DIRECTORY
O:/kernel/${CMAKE_SYSTEM_NAME}/${CMAKE_BUILD_TYPE})
message(library output: ${ARCHIVE_OUTPUT_DIRECTORY})
Am Dienstag, 16. November 2010 schrieb Andrea Galeazzi:
I'm trying to compile a static library named libkernel.a into a custom
path. I tried to set ARCHIVE_OUTPUT_DIRECTORY in two ways:
1:
set_property(TARGET PROPERTY ARCHIVE_OUTPUT_DIRECTORY
On 2010-11-16 09:35-0500 Torri, Stephen CIV NSWCDD, W15 wrote:
I am trying to merge a project that was using autoconf and GNUMakefiles. When
you use automake you can build static libraries in sub directories and then
link them together into one shared library in the end that was install. This
On 11/16/2010 06:18 PM, Andrea Galeazzi wrote:
I'm trying to compile a static library named libkernel.a into a custom
path. I tried to set ARCHIVE_OUTPUT_DIRECTORY in two ways:
1:
set_property(TARGET PROPERTY ARCHIVE_OUTPUT_DIRECTORY
O:/kernel/${CMAKE_SYSTEM_NAME}/${CMAKE_BUILD_TYPE})
Hi,
I've attached my project's top-level Makefile. I'm trying to force
all the modules in the project to build first so I created a single
library called modules that contains all my Fortran 90 module files.
I'm invoking the Makefile explicitly passing the modules as the
target to
I think we used Qt as a basis because lots of people at the time were
asking for it. Probably the simplest to demonstrate would be an
example that builds a dynamic library and an executable that uses that
library so therefor it must be packaged with the executable. Were you
wanting to
Greetings,
I am learning cmake.
I have a fortran only project with some source files with f77 routines to
compile, My CMakeLists.txt in the projects base directory has the following
lines
set(CMAKE_Fortran_COMPILER gfortran)
ENABLE_LANGUAGE(Fortran)
but running cmake ends
Am Dienstag, 16. November 2010 schrieb luxInteg:
Greetings,
I am learning cmake.
I have a fortran only project with some source files with f77 routines to
compile, My CMakeLists.txt in the projects base directory has the
following lines
set(CMAKE_Fortran_COMPILER gfortran)
I am trying to use ADD_LIBRARY to create a .lib file from a collection
of .cpp and .h files.
If I do:
ADD_LIBRARY(LibraryName AllOfTheCPPFiles.cpp)
and then try to link against that library, I get many missing-function
type linker errors. I looked in the .h files and many of them have
actual
On Tue, Nov 16, 2010 at 1:35 PM, Michael Jackson
mike.jack...@bluequartz.net wrote:
I think we used Qt as a basis because lots of people at the time were asking
for it. Probably the simplest to demonstrate would be an example that builds
a dynamic library and an executable that uses that
Is this a library that has built successfully before with another build
system? Has this application been built successfully before?
For instances where the actual implementation is in the .h file, you usually
must make sure you #include that header file in a cpp in your own
application (the app
If you have unresolved external errors, then you are (most likely)
missing a target_link_libraries call -- find out what library those
symbols are built into, and link to that library.
On Tue, Nov 16, 2010 at 2:03 PM, David Doria daviddo...@gmail.com wrote:
I am trying to use ADD_LIBRARY to
On Tue, Nov 16, 2010 at 2:06 PM, David Doria daviddo...@gmail.com wrote:
On Tue, Nov 16, 2010 at 1:35 PM, Michael Jackson
mike.jack...@bluequartz.net wrote:
I think we used Qt as a basis because lots of people at the time were asking
for it. Probably the simplest to demonstrate would be an
Ryan,
The issue is that these headers are only used internally to this
collection of files, so I don't want to have to include them in my
code. Here is a skeleton:
The files I've been given
--
External.h
External.cpp
Internal.h (used by External)
Internal.cpp
My files
On Tue, Nov 16, 2010 at 12:27 AM, Rolf Eike Beer e...@sf-mail.de wrote:
Am Dienstag, 16. November 2010 schrieb Eric Noulard:
2010/11/15 James Bigler jamesbig...@gmail.com
If I set a COMPILE_FLAGS property on a header file via
set_source_files_properties, CMake decides that these header
Hi Noel,
On 11/16/2010 01:11 PM, K. Noel Belcourt wrote:
I've attached my project's top-level Makefile. I'm trying to force
all the modules in the project to build first so I created a single
library called modules that contains all my Fortran 90 module files.
I'm invoking the
On Nov 16, 2010, at 1:59 PM, Brad King wrote:
Hi Noel,
On 11/16/2010 01:11 PM, K. Noel Belcourt wrote:
I've attached my project's top-level Makefile. I'm trying to force
all the modules in the project to build first so I created a single
library called modules that contains all my Fortran
On Nov 16, 2010, at 2:05 PM, Belcourt, K. Noel wrote:
On Nov 16, 2010, at 1:59 PM, Brad King wrote:
On 11/16/2010 01:11 PM, K. Noel Belcourt wrote:
I've attached my project's top-level Makefile. I'm trying to force
all the modules in the project to build first so I created a single
library
2010/11/16 Belcourt, K. Noel kbe...@sandia.gov:
On Nov 16, 2010, at 2:05 PM, Belcourt, K. Noel wrote:
On Nov 16, 2010, at 1:59 PM, Brad King wrote:
On 11/16/2010 01:11 PM, K. Noel Belcourt wrote:
I've attached my project's top-level Makefile. I'm trying to force
all the modules in the
On 11/16/2010 04:24 PM, Belcourt, K. Noel wrote:
which is the same list of libraries in these SUBDIRS commands in the
top-level CMakeLists.txt file (in reverse order). There's a single
library in each of these subdirs of the same lower-cased name.
...
SUBDIRS(Modules)
SUBDIRS(MP)
On Nov 16, 2010, at 2:50 PM, Brad King wrote:
On 11/16/2010 04:24 PM, Belcourt, K. Noel wrote:
which is the same list of libraries in these SUBDIRS commands in the
top-level CMakeLists.txt file (in reverse order). There's a single
library in each of these subdirs of the same lower-cased
On Nov 16, 2010, at 2:48 PM, Eric Noulard wrote:
2010/11/16 Belcourt, K. Noel kbe...@sandia.gov:
On Nov 16, 2010, at 2:05 PM, Belcourt, K. Noel wrote:
On Nov 16, 2010, at 1:59 PM, Brad King wrote:
On 11/16/2010 01:11 PM, K. Noel Belcourt wrote:
I've attached my project's top-level
On Nov 16, 2010, at 2:48 PM, Eric Noulard wrote:
2010/11/16 Belcourt, K. Noel kbe...@sandia.gov:
On Nov 16, 2010, at 2:05 PM, Belcourt, K. Noel wrote:
On Nov 16, 2010, at 1:59 PM, Brad King wrote:
On 11/16/2010 01:11 PM, K. Noel Belcourt wrote:
I've attached my project's top-level
On 11/16/2010 04:52 PM, Belcourt, K. Noel wrote:
On Nov 16, 2010, at 2:50 PM, Brad King wrote:
On 11/16/2010 04:24 PM, Belcourt, K. Noel wrote:
which is the same list of libraries in these SUBDIRS commands in the
top-level CMakeLists.txt file (in reverse order). There's a single
library
Michael Jackson said the following on 11/15/2010 11:56 AM:
Ahh. It is a bit clearer the tract you are taking. What I am
suggesting is that you only have to run the scanner once and keep
the results in CMake syntax files so that CMake can just simply re-use
the list. As you add headers during
Has anyone else noticed situations where VS puts the first project (as
determined alphabetically) in a project folder as the last project?
CMakePredefinedTargets
-- PACKAGE
-- RUN_TESTS
-- ZERO_CHECK
-- INSTALL
I'm using VS 2008 SP 1 with CMake 2.8.3.
I've verified this with a simple project
Hm, it works correctly in Linux, but I still get a bunch of
error LNK2019: unresolved external symbol
errors in Windows.
The only difference I see is that the .lib file gets created in a
subdirectory of bin/
bin/Debug/OSC.lib (or bin/Release/OSC.lib)
vs the .a file which gets created in bin
On 11/16/2010 7:19 PM, David Doria wrote:
Hm, it works correctly in Linux, but I still get a bunch of
error LNK2019: unresolved external symbol
What symbols?
Try running dumpbin /symbols OSC.lib. Also use VS IDE to make sure the
library is listed.
Everything look ok? Any thoughts?
Also use VS IDE to make sure the library is listed.
The library is indeed listed in Additional Dependencies of the
linker for the executable target.
What symbols? Try running dumpbin /symbols OSC.lib.
I figured it out - I had to link to winmm to get the symbol:
symbol __imp__timeGetTime
and
Is the goal simply to copy
...VTK/bin/libvtkHybrid.a
into the package?
I tried this:
INSTALL(CODE \${VTK_DIR}/bin/libvtkHybrid.a)
But I get:
Parse error. Expected a command name, got unquoted argument with text
${VTK_DIR}/bin/libvtkHybrid.a.
I made a home for this here:
On Tue, Nov 16, 2010 at 10:15:28PM -0500, David Doria wrote:
Is the goal simply to copy
...VTK/bin/libvtkHybrid.a
into the package?
I tried this:
INSTALL(CODE \${VTK_DIR}/bin/libvtkHybrid.a)
More like:
INSTALL(FILES ${VTK_DIR}/bin/libvtkHybrid.a)
tyler
On 11/13/2010 03:08 PM, Marcus D. Hanwell wrote:
On Nov 13, 2010, at 8:57 AM, Michael Hertling wrote:
On 11/12/2010 02:13 PM, Hector Martinez-Seara wrote:
Dear all,
I'm trying to install openbabel in linux which in its last version
(2.3.0) uses cmake installer. I haven't been able to
Am Mittwoch, 17. November 2010 schrieb James Bigler:
Has anyone else noticed situations where VS puts the first project (as
determined alphabetically) in a project folder as the last project?
Yes, I have seen this when using the new FOLDER property for targets. I see
this behaviour within the
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 f4f3c9ff493e41d10f31d8b143e396516311f6c2 (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 caf680c4d7115fb5e6e16f4a738a7f49346b5de3 (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 b61c5be3d79bd890fc5d56ac8313bb84897cc1c1 (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 c172ffef061c1bf412389fdf01275cf91aa2ff79 (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 164b11deb735e33e9dd14becac71288689617dda (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 b541b1213ac4bf95a186d9fa753ba2566e598d06 (commit)
from
45 matches
Mail list logo