2012/9/11 Stephen Rasku :
> Hi,
>
> I'm working through the CMake 2.8.9 tutorial and I'm at step 3
> (Installing and Testing). I think this line:
>
> install (FILES "${PROJECT_BINARY_DIR}/TutorialConfig.h" DESTINATION
> include)
>
> should be:
>
> install (FILES "${PROJECT_SOURCE_DIR}/Tut
Dear list-members,
I am reasonably new to cmake (6 month now), and I have run into some problems:
I have the following script:
...
while ( ${CTEST_ELAPSED_TIME} LESS 82800 ) #23 hours
set ( START_TIME ${CTEST_ELAPSED_TIME} )
ctest_start (Continuous)
ctest_update ( RETURN_VALUE count )
I'm creating a shared library target that needs to compile and include
source generated by an IDL. I want CMake to create a custom target
that will invoke MIDL.EXE (comes with Windows SDK) against the IDL
file to generate the header / source files needed. These header/source
files will then be buil
Hi,
I'm working through the CMake 2.8.9 tutorial and I'm at step 3
(Installing and Testing). I think this line:
install (FILES "${PROJECT_BINARY_DIR}/TutorialConfig.h" DESTINATION include)
should be:
install (FILES "${PROJECT_SOURCE_DIR}/TutorialConfig.h" DESTINATION include)
${PROJEC
Hi,
On Mon, Sep 10, 2012 at 6:12 PM, Yuri Timenkov wrote:
> Or it's implementation on Linux... I doubt anybody had any problems with
> NTFS on Windows :)
Actually people do have problems with that, but since there's
basically no competitor you don't have a choice. And Microsoft has no
reason to
Currently I am using cmake to auto build third party library c-ares using
ExternalProject module.
Before starting cmake I am setting DESTDIR variable.
export DESTDIR=`pwd`/dest
Problem is that third party library are also reading this variable. Is
there a way I can avoiding mixing of DESTDIR varia
Thought it might be interesting to throw some other numbers at this. Everything
is running on OS X 10.6.8 32GB RAM/SSD Boot Volume:
7200RPM Drive using Paragon Systems NTFS Version 10
43.4 secs NTFS
7200RPM Drive using Native OS X HFS+ drivers.
12.6 secs HFS+
Both of the above are on the physica
On 9/10/2012 12:12 PM, Yuri Timenkov wrote:
Or it's implementation on Linux... I doubt anybody had any problems with
NTFS on Windows :)
No, NTFS sucks on any OS. It is way slower with file stats and file
access.
-Bill
--
Powered by www.kitware.com
Visit other Kitware open-source projects
Or it's implementation on Linux... I doubt anybody had any problems with
NTFS on Windows :)
You may also be using it via FUSE... not fastest approach.
If you need to keep your sources on NTFS you may create temporary location
on native FS and rsync before building (or DVCS). We used it instead of
I think on contrary, the value passed from command line wasn't saved into
cache. You should do it manually in your CMakeLists.txt, like
set(Mylib_DIR "${Mylib_DIR}" CACHE PATH "Path to something")
But variables with _DIR suffix are usually set by find_package command, I'm
not sure about expected b
Bah, this whole mailinglist disappeared to some file that I wasn't
aware of :p But I found it back now...
I moved the sources to a slow (7200 rpm) HDD using ext4, and it
became 5 times faster.
Conclusion: NTFS sucks totally.
On Thu, Sep 06, 2012 at 11:47:36AM -0400, Bill Hoffman wrote:
> On
I am trying to use ctest v2.8.2 for testing an installed piece of
software.
There are no longer source nor build directories, just a "test
directory" containing input test data, reference data, test runners and
CTestTestfile.cmake scripts to rule them all.
It works well when I run ctest from the
Hi all,
I am using cmake on Windows to generate a vfproj for a Fortran DLL.
This DLL links some object files written in C, using
add_library(OBJECT). For some reason, the library is always considered
out of date, i.e. with every "Build solution" command (or just "Build"
on its project), it relinks
blow away cmakecache.txt and try again.
That is probably cached if it's an option you can set in ccmake or cmake-gui
On Mon, Sep 10, 2012 at 3:08 AM, Witold E Wolski wrote:
> Hi,
>
> When calling ccmake I can configure a variable Mylib_DIR (library location)/
>
> However, I would like to run the
Hi,
When calling ccmake I can configure a variable Mylib_DIR (library location)/
However, I would like to run the configuration and build process in bash
script (its an out of source build). Therefore I am trying to configure
everything on the command line using the -D switch:
cmake -G "Eclipse
As an option you may create .def file which lists functions from static
library as exported. This will force linker to treat them as undefined and
link with all dependencies. However this requires some actions and works
only for quite stable libs.
We employed this approach when we had no control ov
Hi Eric.
Many thanks for your reply.
On Mon, Sep 10, 2012 at 9:49 AM, Eric Noulard wrote:
> 2012/9/10 Petr Kmoch :
>> Hi all.
>>
>> I'm on Windows, and I need a DLL composed of multiple static
>> libraries, any of which can define dllexport functions not otherwise
>> referenced in the DLL. The p
2012/9/10 Petr Kmoch :
> Hi all.
>
> I'm on Windows, and I need a DLL composed of multiple static
> libraries, any of which can define dllexport functions not otherwise
> referenced in the DLL. The problem is that the Visual Studio linker
> does not provide flags to link an entire static library (i
Hi Krzysztof.
The easiest way is to list the external file among the target's
sources in add_executable/add_library, if possible.
Petr
On Sun, Sep 9, 2012 at 9:20 PM, Krzysztof wrote:
> How to make a project dependent on an external file? The file could be a
> library built by custom tool or by
Hi all.
I'm on Windows, and I need a DLL composed of multiple static
libraries, any of which can define dllexport functions not otherwise
referenced in the DLL. The problem is that the Visual Studio linker
does not provide flags to link an entire static library (i.e. there is
no equivalent to ld's
20 matches
Mail list logo