Sounds good. Incidentally, we did something similar with Subversion, but I
never got it to work 100% of the time. Glad it works well for you!
Cheers,
-dan
On 7/8/10 3:54 PM, "Clark Gaebel" wrote:
> I don't want it run every commit, I want it run every build.
>
> Right now, it seems to be re
On 7/8/2010 3:05 PM, Stefan Buschmann wrote:
Hi all!
I just noted a possible error in the CMake tutorial at
http://www.cmake.org/cmake/help/cmake_tutorial.html :
The tutorial states:
cmake_minimum_required (2.6)
while according to my version of cmake (2.6-patch 4) and the current
documentatio
One alternative is to use git itself. There is a "git smudge" option that
can do much of what you are asking. However, I've never done this sort of
thing.
http://progit.org/book/ch7-2.html
Just $0.02,
-dan
On 7/8/10 3:31 PM, "Tyler Roscoe" wrote:
> On Wed, Jul 07, 2010 at 10:43:15PM -0400,
On Wed, Jul 07, 2010 at 10:43:15PM -0400, John Drescher wrote:
> On Wed, Jul 7, 2010 at 9:44 PM, Clark Gaebel wrote:
> > I would like to generate file that looks something like this:
> >
> > // version.h
> > #define VERSION "v0.1-345-ga77ede8"
>
> You want to do that with configure_file
Th
Am Thursday 08 July 2010 schrieb Bo Thorsen:
> Den 07-07-2010 19:43, Rolf Eike Beer skrev:
> > Am Wednesday 07 July 2010 schrieb Patrick Spendrin:
> >> Hello everybody,
> >>
> >> we're currently thinking about setting up a symbol server for our
> >> project, and cannot find out how to install the
Hi all!
I just noted a possible error in the CMake tutorial at
http://www.cmake.org/cmake/help/cmake_tutorial.html :
The tutorial states:
cmake_minimum_required (2.6)
while according to my version of cmake (2.6-patch 4) and the current
documentation it should read:
cmake_minimum_r
On 07/08/2010 11:00 AM, John Cary wrote:
> Concerning projects that I have no control
> over, like hdf5 or trilinos, for our group
> to be able to reinstall, I would like cmake
> to install everything with g+w.
>
> I see at http://www.cmake.org/cmake/help/cmake2.6docs.html
> how the project can in
Concerning projects that I have no control
over, like hdf5 or trilinos, for our group
to be able to reinstall, I would like cmake
to install everything with g+w.
I see at http://www.cmake.org/cmake/help/cmake2.6docs.html
how the project can install with group write
perms, but what if I do not wan
Signed-off-by: Serge Ziryukin
---
Modules/MacroAddFileDependencies.cmake |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/MacroAddFileDependencies.cmake
b/Modules/MacroAddFileDependencies.cmake
index e4a82d1..785352e 100644
--- a/Modules/MacroAddFileDependencies.
On Thu, 2010-07-08 at 16:30 +0800, Paul Harris wrote:
>
>
> On 8 July 2010 16:27, Marcel Loose wrote:
>
> On Thu, 2010-07-08 at 11:12 +0800, Paul Harris wrote:
> >
> >
> > On 7 July 2010 23:38, Marcel Loose wrote:
> >
> > On Wed,
2010/7/8 Aeschbacher, Fabrice :
> Hi,
>
> FindCygwin.cmake try to find Cygwin installation as follows:
>
> FIND_PATH(CYGWIN_INSTALL_PATH
> cygwin.bat
> "C:/Cygwin"
> "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts
> v2\\/;native]"
> )
>
>
> Unfortunately, recent version
If you need to specify compilers that are not picked up by default, use
environment variables to do so.
See this FAQ entry:
http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_use_a_different_compiler.3F
Prefer the first method -- does it work if you set FC?
Also, make sure you use full paths to the co
Hi,
Please consider this as a "report" rather than a "complaint" - and I'm not
even sure that the problem lies with cmake. Faik it may be a plplot issue.
I'm using the 64-bit MinGW64 (gcc) cross-compiler to build plplot-5.9.6 on
Windows Vista64 and noticed that CMAKE_Fortran_COMPILER and
CMA
Hi,
FindCygwin.cmake try to find Cygwin installation as follows:
FIND_PATH(CYGWIN_INSTALL_PATH
cygwin.bat
"C:/Cygwin"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts
v2\\/;native]"
)
Unfortunately, recent versions of Cygwin do not install this registry key
a
On 07/08/2010 10:44 AM, Michael Wild wrote:
On 8. Jul, 2010, at 10:35 , Johny wrote:
I am trying to write a cmake function which imitates the functionality of wc -l
for unix. However i can't seem to be able to figure out how to store the result
into the variable which is passed to the fu
Den 07-07-2010 19:43, Rolf Eike Beer skrev:
Am Wednesday 07 July 2010 schrieb Patrick Spendrin:
Hello everybody,
we're currently thinking about setting up a symbol server for our
project, and cannot find out how to install the pdb file together with
the install command (or in another way).
Did
function (wcl _fileName _varName)
set(out 0)
file(READ "${_fileName}" fileData)
if(fileData)
string(REGEX MATCHALL "\n" lines "${fileData}")
list(LENGTH lines out)
endif()
set(${+varName} ${out} PARENT_SCOPE)
endfunction()
Key parts you missed: "lines" (now _varName) contains a
On 8. Jul, 2010, at 10:35 , Johny wrote:
> I am trying to write a cmake function which imitates the functionality of wc
> -l for unix. However i can't seem to be able to figure out how to store the
> result into the variable which is passed to the function.
>
> function (wcl fileName lines)
>
I am trying to write a cmake function which imitates the functionality
of wc -l for unix. However i can't seem to be able to figure out how to
store the result into the variable which is passed to the function.
function (wcl fileName lines)
file(READ ${fileName} fileData)
if(fileData)
On Thu, 2010-07-08 at 11:12 +0800, Paul Harris wrote:
>
>
> On 7 July 2010 23:38, Marcel Loose wrote:
>
> On Wed, 2010-07-07 at 17:05 +0200, Michael Wild wrote:
> > On 7. Jul, 2010, at 16:01 , Paul Harris wrote:
> >
> > > Hi all,
> > >
> >
On Thu, 2010-07-08 at 11:12 +0800, Paul Harris wrote:
>
>
> On 7 July 2010 23:38, Marcel Loose wrote:
>
> On Wed, 2010-07-07 at 17:05 +0200, Michael Wild wrote:
> > On 7. Jul, 2010, at 16:01 , Paul Harris wrote:
> >
> > > Hi all,
> > >
> >
First of all - don't use file glob - see many past threads, FAQ
entries, etc. This is a common beginner mistake, with unfortunate
consequences.
Here is my quickie re-write of your build. You might need to
double-check the variable names with their respective find modules - I
did them from m
Hello Craig,
Am Donnerstag, 8. Juli 2010, 10:05:55 schrieb Craig Pemberton:
> In programs/
>
> include_directories(../library)
> #FILE(GLOB SOURCE_FILES .*.cpp)
> #FILE(GLOB INCLUDE_FILES *.h)
> #SOURCE_GROUP("Source Files" FILES ${SOURCE_FILES})
> #SOURCE_GROUP("Header Files" FILES ${HEADER_FILE
Hi
Comments are inline...
On 8. Jul, 2010, at 10:05 , Craig Pemberton wrote:
> Hello everyone,
>
> I am working on converting my project from using a handwritten
> Makefile to using cmake.
>
> I have been playing with cmake but I keep running into problems and
> I'm probably writing really ugl
Hello everyone,
I am working on converting my project from using a handwritten
Makefile to using cmake.
I have been playing with cmake but I keep running into problems and
I'm probably writing really ugly CMakeLists.txt files.
My project is laid out like this:
graphics/
data/
On 8 July 2010 15:31, Michael Wild wrote:
>
> On 8. Jul, 2010, at 7:25 , Paul Harris wrote:
>
> > On 8 July 2010 12:56, Michael Wild wrote:
> >
> >>
> >> On 8. Jul, 2010, at 4:40 , Paul Harris wrote:
> >>
> >>> On 7 July 2010 23:05, Michael Wild wrote:
> >>>
>
> On 7. Jul, 2010, at 16
On Wed, 2010-07-07 at 16:49 -0400, Brad King wrote:
> On 7/7/2010 7:45 AM, Marcel Loose wrote:
> > My pragmatic question is: is there a different way to check whether
a
> > target has already been defined, or not.
>
> Try this:
>
>get_target_property(mytarget_exists mytarget TYPE)
>if(myt
On 8. Jul, 2010, at 7:25 , Paul Harris wrote:
> On 8 July 2010 12:56, Michael Wild wrote:
>
>>
>> On 8. Jul, 2010, at 4:40 , Paul Harris wrote:
>>
>>> On 7 July 2010 23:05, Michael Wild wrote:
>>>
On 7. Jul, 2010, at 16:01 , Paul Harris wrote:
> Hi all,
>
> I h
Once again. Now to the correct email adress AND with the full text. Sorry for
that!
> You mean in the same project? Just use the target name, CMake will figure
> things out on its own.
The
project itself is working fine. But I have to link against the
libraries from other projects. Up to now,
> You mean in the same project? Just use the target name, CMake will figure
> things out on its own.
The project itself is working fine. But I have to link against the libraries
from other projects. Up to now, I'm working
30 matches
Mail list logo