Re: [CMake] execute_process() and reconfiguration

2019-06-27 Thread Steve Mokris via CMake
> Is there a way for me to tell CMake what source files my command relies on so > it knows when it needs to do a reconfiguration? CMAKE_CONFIGURE_DEPENDS can do that. https://cmake.org/cmake/help/latest/prop_dir/CMAKE_CONFIGURE_DEPENDS.html -- Powered by www.kitware.com Please keep messages

Re: [CMake] How can I automatically optionally build a submodule?

2019-03-27 Thread Steve Keller
add_subdirectory(foo) endif() This is *ugly* but I don't know how to do this in cmake. Steve -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMak

Re: [CMake] How can I automatically optionally build a submodule?

2019-03-27 Thread Steve Keller
uld be appropriate would be a command add_subdirectory_optional(...) or add_subdirectory_and_ignore_errors(...) or something similar. Steve -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various service

[CMake] How can I automatically optionally build a submodule?

2019-03-11 Thread Steve Keller
UIRED) I want the submodule foo to be build automatically if the package yadda is found. Otherwise, foo should be left out and the top-level build should not fail but continue. Steve -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org

Re: [CMake] CMake triggers Windows Defender

2018-07-05 Thread Steve
#x27;s likely I was running v5.0.3 and got lucky the latest update was 10 days before I started using CMake. Thank you again Mr. King, Steve On 7/5/2018 4:01 PM, Isaiah Norton wrote: I don't know what the turn-around time is, but you and others might consider submitting the ex

[CMake] CMake triggers Windows Defender

2018-06-14 Thread Steve
ts: Trojan:Win32/Fuerboos.C!cl on  file: D:\DDS-master\AMM_Modules\build\CMakeFiles\3.11.3\CompilerIdC\a.exe I didn't find anything searching internet for CMake/Windows Defender/Fuerboos and not sure how to proceed. Thanks for any help, Steve / / -- Powered by www.kitware.com Ple

Re: [CMake] clean custom_target

2016-10-26 Thread Steve Lorimer
There is an open issue about just this. If ADDITIONAL_MAKE_CLEAN_FILES doesn't work for you, you may want to make your case on the issue https://gitlab.kitware.com/cmake/cmake/issues/16358 On 26 October 2016 at 00:59, Petr Kmoch wrote: > Hi Tiago. > > The best I can think of is the directory p

Re: [CMake] Cannot get automoc to work properly with recommended Qt5 support method

2016-10-20 Thread Steve Lorimer
Sounds like you have ended up at the same solution I did. I had trouble getting the automated qt generation working, and in the end I made it explicit if(ARG_MOC) qt5_wrap_cpp(MOC_OUT ${ARG_MOC}) endif() if(ARG_RES) qt5_add_resources(RES_OUT ${ARG_RES}) endif() if(ARG_UI) qt5_wrap_ui(UI_OUT ${ARG_

Re: [CMake] How to configure CMake to add current path to include directive.

2016-10-20 Thread Steve Lorimer
and if not found, list(APPEND...) endforeach() target_include_directories(${ARG_NAME} PRIVATE ${DIR_LIST}) I can't believe it's necessary to do this, and there must be a better way, but it worked for me, so I moved on. Thanks Steve On 20 October 2016 at 03:20, Dvir Yitzchaki

Re: [CMake] How to configure CMake to add current path to include directive.

2016-10-16 Thread Steve Lorimer
ike the following was what I had in mind (untested): > > get_target_property(incDirs someTarget INCLUDE_DIRECTORIES) > list(APPEND incDirs .) > set_target_properties(someTarget PROPERTIES INCLUDE_DIRECTORIES > "${incDirs}") > > > On Mon, Oct 17, 2016 at 10:31 AM, S

Re: [CMake] How to configure CMake to add current path to include directive.

2016-10-16 Thread Steve Lorimer
Thanks Craig Not sure if I'm doing it right, but I couldn't get that to work. Would you be able to give me an example please? Thanks Steve On 16 October 2016 at 17:51, Craig Scott wrote: > I think if you manipulate the target property INCLUDE_DIRECTORIES > <https://c

[CMake] How to configure CMake to add current path to include directive.

2016-10-16 Thread Steve Lorimer
/foo will be added to the include paths. I'm aware that if I explicitly added the path it would work include_directories(${CMAKE_CURRENT_SOURCE_DIR}/bar) However, if there is a way to get -I. added to my include path, that's what I'm after. TIA Steve -- Powered by www.

[CMake] add_test CONFIGURATIONS and linux

2016-09-13 Thread Steve M. Robbins
RATIONS Release COMMAND ls) = My understanding is that test will run only when the "configuration" is release. I am guessing that for the single-configuration Makefile generator, this is true when CMAKE_BUILD_TYPE=Release. Correct? Doesn't work for me: Run Script ===

[CMake] add_test CONFIGURATIONS and linux

2016-09-13 Thread Steve M. Robbins
for me: Run Script == steve@riemann{build}rm -rf * Running tests... Where am I going wrong? Thanks! -Steve P.S. After writing this, I discovered that "ctest -C Release" will run the tests as desired. Why doesn't simple "make test" work? signature.asc Descrip

Re: [CMake] set_directory_properties ADDITIONAL_MAKE_CLEAN_FILES globbing pattern?

2016-08-31 Thread Steve Lorimer
Is this just not possible? On 24 August 2016 at 11:35, Steve Lorimer wrote: > As part of our build process we tag certain binary files with version > information such as git branch, number of commits, build variant etc. > > Eg, for a binary called "app" we could insta

Re: [CMake] How to add -fPIC to a static library?

2016-08-28 Thread Steve Lorimer
Thanks Nicholas, you are indeed correct! On 28 August 2016 at 17:35, Nicholas Braden wrote: > Have you tried set_property(TARGET cpp-netlib_pic PROPERTY > POSITION_INDEPENDENT_CODE ON)? I think you must specify the value ON > for it to work. > > On Sun, Aug 28, 2016 at 4:28 PM

[CMake] How to add -fPIC to a static library?

2016-08-28 Thread Steve Lorimer
I'm trying to create a static library with -fPIC specified. add_library(cpp-netlib_pic STATIC ${SRCS}) set_property(TARGET cpp-netlib_pic PROPERTY POSITION_INDEPENDENT_CODE) This doesn't work. The library (cpp-netlib_pic) is built without the -fPIC flags. Other targets which link agains

[CMake] How to link against PIC version of a library's dependency in CMake?

2016-08-28 Thread Steve Lorimer
*CMake:* We have a dependency on cpp-netlib . We build it from source as part of our build system. cpp-netlib/CMakeLists.txt: add_library(cpp-netlib STATIC ${SRCS}) For one particular use case, we have to use it in a shared library, so I've created a second libr

[CMake] set_directory_properties ADDITIONAL_MAKE_CLEAN_FILES globbing pattern?

2016-08-24 Thread Steve Lorimer
ither. Is it possible to specify a globbing pattern in set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ...)? Is it possible to specify a globbing pattern in file(REMOVE_RECURSE ...)? TIA Steve -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ a

Re: [CMake] Custom target for running tests as part of the build

2016-08-23 Thread Steve Lorimer
on the ugliness of > the extra indirection may not be desirable for you. > > -- > Matt Keeler > > > On August 23, 2016 at 11:20:48, Steve Lorimer (steve.lori...@gmail.com) > wrote: > > We have several unit tests which we would like to be run as part of our > build proces

[CMake] Custom target for running tests as part of the build

2016-08-23 Thread Steve Lorimer
t;test_name.passed" file created, which means the next time I try to build it thinks the test passed. Is there a way to achieve what I want? Bonus points for a cross-platform method, but if it has to be Linux only, then so be it. Thanks in advance Steve -- Powered by www.kitware.com Please kee

Re: [CMake] in source makefile / helper script that enables building out of source?

2016-05-11 Thread Steve Lorimer
On 11 May 2016 at 09:01, Konstantin Tokarev wrote: > > FYI, CMake supports in-source builds (however, particular projects may not) > Thanks for your response! I am aware of being able to do in-source builds, but would like to continue to reap the benefits of out-of-source builds whilst being ab

[CMake] in source makefile / helper script that enables building out of source?

2016-05-11 Thread Steve Lorimer
rage the open source community - hence asking the question. Does anyone have a script or makefile which does just this? TIA Steve -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services

Re: [CMake] linking static libs into shared libs on Linux

2015-07-08 Thread Steve Borho
ging with 'make VERBOSE=1' I discovered that when multilib was adding its extra link path it was overwriting the linux link flags instead of appending to them. There was a one-line fix for it. Cheers -- Steve Borho -- Powered by www.kitware.com Please keep messages on-topic and chec

Re: [CMake] linking static libs into shared libs on Linux

2015-07-08 Thread Steve Borho
On 07/07, Dan Kegel wrote: > On Tue, Jul 7, 2015 at 2:25 PM, Steve Borho wrote: > > We're already adding -fPIC to the compile flags for the two object > > libraries. This way one set of objects can be used to output the shared > > library and the static library. So

Re: [CMake] linking static libs into shared libs on Linux

2015-07-07 Thread Steve Borho
On 07/07, Dan Kegel wrote: > On Tue, Jul 7, 2015 at 12:36 PM, Steve Borho wrote: > > /bin/ld: common/CMakeFiles/common.dir/x86/pixel-a.asm.o: relocation > > R_X86_64_PC32 against symbol `x265_pw_1' can not be used when making a > > shared object; recompile with -fPIC >

Re: [CMake] linking static libs into shared libs on Linux

2015-07-07 Thread Steve Borho
On 07/07, Alexander Neundorf wrote: > On Tuesday, July 07, 2015 14:36:25 Steve Borho wrote: > > Hello, I am the technical lead for x265 (HEVC encoder) and we have used > > cmake successfully since the beginning of the project. There are a few > > rough edges that we&

[CMake] linking static libs into shared libs on Linux

2015-07-07 Thread Steve Borho
the static libs to make them safe for shared libs again (guessing this is not likely) (note: I'm building on Centos 7, but this does not appear to be distribution dependent, and I've tried cmake 2.8.11 and 3.2.3) Thanks -- Steve Borho PS: Our source code is at https://bitbucke

Re: [CMake] Installing Python files

2013-03-27 Thread Steve Andrews
up.py install -f --prefix=${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ../source/libmoleculizer-1.1.2/python-src/language_parser)") This works well on both of my Macs. With luck, it will work more broadly, too. We'll see... Thanks again for all the help. -Steve On Wed, Mar 27,

Re: [CMake] Installing Python files

2013-03-26 Thread Steve Andrews
/python2.5/site-packages/moleculizer, at least as the default path. Depending on what the user's system already has, I may need to create one or more levels of this hierarchy. Do you know if there is a way to create this directory structure, as needed, during the install step? Thanks, -St

Re: [CMake] CPack isn't working - getting Internal CMake error

2013-03-04 Thread Steve Andrews
That's it. Making a package works now. I thought it was something trivial, but I didn't know what. Thank you very much! -Steve On Mon, Mar 4, 2013 at 2:06 PM, David Cole wrote: > Sounds like a permissions problem. Did you previously run “sudo make > install” in the same

Re: [CMake] Dynamic library RPATH on OSX

2013-02-13 Thread Steve Skutnik
;Module A" when building "Module B" - my executable now finds the dynamic library correctly. Hopefully this helps someone else in the future... -Steve --- Steve Skutnik, Ph.D. http://neutroneconomy.blogspot.com On Wed, Feb 13, 2013 at 11:58 AM, Steve Skutnik wrote: > I'

[CMake] Dynamic library RPATH on OSX

2013-02-13 Thread Steve Skutnik
ilities. However, I noticed that CMake runs install_name_tool on its own for a library which is built with Module B (i.e., I have libModuleB_core.dylib which is built and linked into the moduleB binary); i.e., this shows up in cmake_install.cmake. So shouldn't there be some way to get CMake

Re: [CMake] VC++10 change WIN32_EXECUTABLE per configuration

2012-07-31 Thread Steve deRosier
On Tue, Jul 31, 2012 at 1:45 PM, J Decker wrote: > what about using CMAKE_INSTALL_CONFIG_TYPE instead? > OK, don't know that one, nor is it in my CMake documentation. But, the #pragma suggested by the bug report saved me, so off I go... Thanks, - Steve -- Powered by www.kitware

Re: [CMake] VC++10 change WIN32_EXECUTABLE per configuration

2012-07-31 Thread Steve deRosier
figuration target properties. But to avoid requiring my client to use a patched cmake, the #pragma that was suggested is my simplest solution. Very appreciated. Thanks, - Steve -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensourc

[CMake] VC++10 change WIN32_EXECUTABLE per configuration

2012-07-30 Thread Steve deRosier
the cmake source and roll our own; do some post-processing on the produced project files; Force everyone to manually change the flag in the IDE; convince my client to restructure some code so we don't encounter this problem in the first place. I'm hoping there's more options out there

Re: [CMake] parallel build using "cmake --build"?

2011-11-27 Thread Steve M. Robbins
On Sat, Nov 26, 2011 at 10:46:10AM -0500, John Drescher wrote: > On Fri, Nov 25, 2011 at 10:16 PM, Steve M. Robbins wrote: > > Hi, > > > > To build VTK on our windows build server, I wrote a small batch script > > that invokes "cmake --build". > > > &

[CMake] parallel build using "cmake --build"?

2011-11-25 Thread Steve M. Robbins
Hi, To build VTK on our windows build server, I wrote a small batch script that invokes "cmake --build". My developer machine is multicore; is there a way to get "cmake --build" to run multiple jobs? Thanks, -Steve signature.asc Description: Digital signature -- Powere

Re: [CMake] Working with MSVC10

2011-08-30 Thread Steve Casselman
When I put MESSAGE("$ENV{INCLUDE}") In the code at that point I get C:\Program Files\Microsoft Visual Studio 10.0\VC\include So why would Cmake be picking up my cygwin installation? Anyway I renamed my cygwin directory and it seems to be working now... Thanks Bill! Steve ---

Re: [CMake] Working with MSVC10

2011-08-29 Thread Steve Casselman
FUNC}) ENDIF ( HAVE_${FUNC} ) IF ( NOT HAVE_${FUNC} ) MESSAGE ( FATAL_ERROR "${func} could not be found" ) ENDIF ( NOT HAVE_${FUNC} ) ENDFOREACH(func ${COMPULSARY_HEADERS}) ENDMACRO(CHECK_REQUIRED_HEADERS) Steve From: Kit

[CMake] What is the order of the include search path?

2011-08-25 Thread Steve Casselman
to a place I know I have stdio.h and cmake can't find it. I have INCLUDE set and it just does not seem to work. I'm using 2.8.5 and Visual Studio 10 Steve ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.

[CMake] Windows 7 - Permissions issues?

2011-07-19 Thread Steve Westenbroek
I am continuing in my quest to use CMake to build a small (< 20 source files) Fortran and C project. I am running into very strange behavior that appears to be related to permissions; the permissions revolve around an attempt to write to the "Windows" directory. Why on earth would CMake produc

[CMake] FOLLOW-UP: CMAKE - troubles finding executables/paths -Windows 7 / MinGW

2011-06-03 Thread Steve Westenbroek
o get CMake to find make, ar, sh etc. on my system via the CMake find_program commands. Thanks! - Steve ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messag

[CMake] CMAKE - troubles finding executables/paths - Windows 7 / MinGW

2011-05-31 Thread Steve Westenbroek
out user intervention with the Windows 7 (64-bit) / MinGW combination? Nothing I have tried thus far seems to make any difference; Cmake simply is unable to find "make.exe" even when explicitly given the fully qualified name. Thanks! - Steve Westenbroek ___

[CMake] Why drop -D from wxWidgets_DEFINITIONS ?

2010-10-07 Thread Steve M. Robbins
Hi, The FindwxWidget.cmake module in 2.8 is breaking the build of MRIConvert [1] because it strips "-D" from the output of "wx-config --cxxflags". Is this not a bug? This question was asked here last October [2] but not answered. Thanks, -Steve [1] http://lcni.

[CMake] Patch needed to FindDoxygen.cmake for latest Graphviz distributions on Windows

2010-02-17 Thread Steve Streeting
_LOCAL_MACHINE\\SOFTWARE\\ATT\\Graphviz;InstallPath]/bin /Applications/Graphviz.app/Contents/MacOS /Applications/Doxygen.app/Contents/Resources As you can see, the latest Graphviz packages don't use 'ATT' as the company registry key any more, they use 'AT&T R

[CMake] EXECUTE_PROCESS and relative path

2009-12-20 Thread Steve Chu
introduce a fixed absolute path(or ENV) that is up to who builds the project. So does cmake have a feature of relative path? Such as: EXECUTE_PROCESS( COMMAND /bin/cat RELATIVE{./xxx} ) here RELATIVE means relative to CMakeLists.txt file. Best Regards, Steve Chu http://stvchu.org

[CMake] Building CMake on Windows

2009-12-08 Thread steve naroff
The 'Readme.txt' for the Windows source distribution says: "You need to download and install a binary release of CMake in order to build CMake." Unlike UNIX/Mac, the Windows source can't be bootstrapped... I assume the Readme.txt is accurate? Any plans to change this? Thanks, snaroff

Re: [CMake] Copying cmake generated files to another machine

2009-12-07 Thread steve naroff
, CMake is really required for a variety of reasons. Bummer. I completely forgot about this. Steve, ditch the idea about the absolute->relative path conversion. This is exactly the type of information I was looking for. I really didn't want us to spin our wheels on a dead end solution.

Re: [CMake] Copying cmake generated files to another machine

2009-12-07 Thread steve naroff
On Dec 7, 2009, at 9:17 AM, Eric Noulard wrote: 2009/12/7 steve naroff : As Eric pointed out, you must add CMake to your compiler build chain. It's one more tool (and with no third-party dependencies), like the C preprocessor, the C compiler and the linker. We did that at work and it

Re: [CMake] Copying cmake generated files to another machine

2009-12-07 Thread steve naroff
On Dec 7, 2009, at 7:58 AM, Pau Garcia i Quiles wrote: On Mon, Dec 7, 2009 at 1:04 PM, steve naroff wrote: Thanks for your comments Oscar. Our current thinking is to post process the cmake generated files and remove all the absolute paths (since the project files are simply text

Re: [CMake] Copying cmake generated files to another machine

2009-12-07 Thread steve naroff
lear if this a 'good' idea? Or will I bump into other gotcha's? Any advice is appreciated...you have a lot more experience with this than I do! snaroff On Dec 7, 2009, at 1:10 AM, Óscar Fuentes wrote: Hello Steve and Eric. Eric Noulard writes: 2009/12/6 steve naroff :

Re: [CMake] Copying cmake generated files to another machine

2009-12-06 Thread steve naroff
Thanks for the quick response...comments below: On Dec 6, 2009, at 12:20 PM, Eric Noulard wrote: 2009/12/6 steve naroff : Hi, I work on llvm/clang (a client of cmake). For development, cmake is wonderful (no big issues). For deployment, cmake's inability to copy it's generated proje

[CMake] Copying cmake generated files to another machine

2009-12-06 Thread steve naroff
Hi, I work on llvm/clang (a client of cmake). For development, cmake is wonderful (no big issues). For deployment, cmake's inability to copy it's generated project files to another machine is causing us some grief. The scenario is quite simple: I want to copy the llvm/clang source tree over

Re: [CMake] install(DIRECTORY . DESTINATION include/proj FILES_MATCHINGPATTERN "*.h")

2009-10-28 Thread Steve Huston
ion. Try adding: PATTERN ".svn" EXCLUDE -Steve -- Steve Huston, Riverace Corporation Total Lifecycle Support for Your Networked Applications http://www.riverace.com ___ Powered by www.kitware.com Visit other Kitware open-so

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Steve Huston
> On Fri, Oct 23, 2009 at 2:13 PM, Steve Huston > wrote: > >> If linux has valgrind which is an open source memory checker, is > >> there any equivalent on Windows?  I noticed ctest supports purify, > >> but it looks like that's only a pay solution.  Am I ou

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Steve Huston
e not heard of any. But IMO, Purify is worth the money IBM charges for it - you'll save more than that in time spent tracking down memory errors. FWIW, -Steve -- Steve Huston, Riverace Corporation Total Lifecycle Support for Your Networked Appl

[CMake] How to generate MSVC projects that will build after install

2009-10-22 Thread Steve Huston
items above are based on problems I'm having with the MSVC files, I'll also need this to work for Makefiles. Thanks, -Steve -- Steve Huston, Riverace Corporation Total Lifecycle Support for Your Networked Applications http://www.riverace.com ___ P

Re: [CMake] How to generate MSVC projects that will build after install

2009-10-22 Thread Steve Huston
rk in an installed situation. Can I get rid of the check timestamps against CMakeLists.txt? > Any idea on how I can solve these? Although the items above > are based on problems I'm having with the MSVC files, I'll > also need this to work for Makefiles. > > Thanks, > -

Re: [CMake] eclipse-cmake bug - more info

2009-08-20 Thread Steve Mathers
that intentional, and whats the significance? May I also ask: what appears in the 'builders' config - I have two ticked items called something like 'cdt' and 'scanner'. Can you explain more what you mean with your first sentence? Im not sure what you are saying

Re: [CMake] eclipse-cmake bug - more info

2009-08-19 Thread Steve Mathers
ld still fails in the same way whether I include the build location in the actual 'build command' string or not (presumably it is set by the build location paramter at the bottom) thanks Steve - Original Message > From: Mike Jackson > To: Steve Mathers > Cc: cm

Re: [CMake] CMake Digest, Vol 64, Issue 50

2009-08-19 Thread Steve Mathers
Hi Michael. that option is what I am already doing, which is why I am confused. 'make' from the terminal works great, 'make' from eclipse craps out. I tried running eclipse from the terminal, and it didnt help. I noticed something else strange here is the output from eclipse once I have do

[CMake] eclipse-cmake bug - more info

2009-08-18 Thread Steve Mathers
Hi, thanks for responding. Eclipse is the latest Galileo 3.5 and cmake is the latest I downloaded from the site yesterday 2.6.4 yes, that does look suspicious. I have been trying a lot of stuff all morning, and I was actually fooling around with making an eclipse project via the cdt4 builder w

[CMake] eclipse-cmake bug - more info

2009-08-17 Thread Steve Mathers
Here is the verbose output. remember, this only happens when I invoke make from eclipse. when I invoke make from the shell, everything is fine. thanks for any insight Build of configuration Linux GCC for project mdc make appmonitor VERBOSE=1 /home/cmake-2.6.4-Linux-i386/bin/cmak

[CMake] cmake from eclipse has error but cmake from shell works fine??!? help!

2009-08-17 Thread Steve Mathers
I have a relatively simple cmake file that has generated a great big Makefile (and associated CMake files) that compiles my project just fine when I invoke it from the bash shell, simply by typing 'make'. When I configure eclipse to do the same thing (simply calling make in the same directory)

Re: [CMake] [Cdash] Cdash setup questions (was RE: Trouble starting ctest run with intention of reporting to dashboard)

2009-06-11 Thread Steve Huston
Done: http://public.kitware.com/Bug/view.php?id=9138 I also took David's advice and recreated my cdash project as qpid-cpp, so I'm not affected by this problem at this time. Thanks, -Steve > -Original Message- > From: Julien Jomier [mailto:julien.jom...@kitware.com]

[CMake] Cdash setup questions (was RE: Trouble starting ctest run with intention of reporting to dashboard)

2009-06-10 Thread Steve Huston
t named "Qpid C++" and I can submit to it using submit.php?project=Qpid%20C%2B%2B but from the "My Projects" list of projects I can't click on "Qpid C++" because the link isn't escaped. Before I dive into the source and see, is there a reason this can't work?

Re: [CMake] Trouble starting ctest run with intention of reportingto dashboard

2009-06-10 Thread Steve Huston
ct=Qpid") > set(CTEST_DROP_SITE_CDASH TRUE) > > in c:/hoffman/Projects/qpid/qpid/cpp/CTestConfig.cmake. > > Also, note for 1 day you will have to do Experimentals, > because if you > do a nightly the update will remove the CTestCon

Re: [CMake] Trouble starting ctest run with intention of reportingto dashboard

2009-06-10 Thread Steve Huston
you "include(CTest)" in your CMakeLists.txt file? Yes, in the top-level one, as shown above. -Steve On Wed, Jun 10, 2009 at 2:02 PM, Steve Huston wrote: Hi folks, I've tried a few more things and am at a loss at this point. First, I ran this under strace on Linux to see what ctest

Re: [CMake] Trouble starting ctest run with intention of reportingto dashboard

2009-06-10 Thread Steve Huston
IME "00:00:00 EST") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "www.riverace.com") set(CTEST_DROP_LOCATION "/CDash-1.4.2/submit.php?project=Qpid") set(CTEST_DROP_SITE_CDASH TRUE) Any clues on what needs to be set? Thanks, -Steve > -Original Message- >

Re: [CMake] Convert unix c++ compiler flags to windows compiler flags?

2009-06-05 Thread Steve Huston
ou want to include for that compiler. Set them in a MSVC-specific block in the CMakeLists.txt file. -Steve ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep mes

Re: [CMake] Trouble starting ctest run with intention of reporting to dashboard

2009-06-04 Thread Steve Huston
the file and re-ran ctest... No change in output. I was thinking it should complain about the junk in the file. What do you think? Thanks, -Steve On Thu, Jun 4, 2009 at 12:26 PM, Steve Huston wrote: Still have problems... On Linux, I cd to my main source dir... [shus...@smokey cpp]$ ctest

Re: [CMake] Trouble starting ctest run with intention of reporting to dashboard

2009-06-04 Thread Steve Huston
MMAND "${CTEST_SVN_COMMAND}") set (CTEST_EXTRA_UPDATES_1 "C:/ace/exported/qpid/trunk/qpid/specs") set (CTEST_EXTRA_UPDATES_2 "C:/ace/exported/qpid/trunk/qpid/gentools") set (CTEST_ENVIRONMENT "LD_LIBRARY_PATH=${CTEST_BINARY_DIRECTORY}/src:/usr/lib}") set (NIGH

[CMake] Trouble starting ctest run with intention of reporting to dashboard

2009-06-03 Thread Steve Huston
as a NIGHTLY_START_TIME in it. And what's DartConfiguration.tcl? It wasn't mentioned in the "Mastering Cmake" book, and I'm trying to use cdash, not dart. Thanks, -Steve ___ Powered by www.kitware.com Visit other Kitware

Re: [CMake] How to get the evaluated path to a target - MSVC

2009-05-26 Thread Steve Huston
Thanks, David. I put your ideas into the PowerShell script that sets up and runs my tests. It's working... -Steve -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of David Cole Sent: Saturday, May 23, 2009 7:38 AM To: Dmitry Bely Cc:

Re: [CMake] How to get the evaluated path to a target - MSVC

2009-05-22 Thread Steve Huston
Hi John, Thanks for replying. > On Fri, May 22, 2009 at 12:18 PM, Steve Huston > wrote: > > I'm using cmake for some cross-platform Linux/Windows stuff. When > > ctest runs my tests, there is often the need to have a > wrapper script > > run the test - it set

[CMake] How to get the evaluated path to a target - MSVC

2009-05-22 Thread Steve Huston
/VS is directly executing the test. However, if passed to the wrapper script, the VS OutDir variable is not available. Is there a portable way to get the test executable's path (either relative or complete) so I can pass it to the wrapper script? Thanks, -Steve __

Re: [CMake] Question on variable check in Cmake macro files

2009-04-28 Thread Steve Huston
Thanks, Denis! To KitWare... UNSET is not in the "Mastering CMake" book... > -Original Message- > From: Denis Scherbakov [mailto:denis_scherba...@yahoo.com] > Sent: Tuesday, April 28, 2009 12:10 PM > To: cmake@cmake.org; Steve Huston > Subject: Re: [CMake] Ques

[CMake] Question on variable check in Cmake macro files

2009-04-28 Thread Steve Huston
he include file from running more than once... Is that the intention? Does this effectively check to see if VARIABLE is in the cache? Is there any way to force the check to run without deleting the cache file? Thanks, -Steve ___ Powered by www.kitware.com

Re: [CMake] How to use generated cmake files?

2009-03-09 Thread Steve Huston
#x27;t find anything. > I'm using CMake 2.6.2 on Linux. I did something like this by running the generator program from inside cmake itself - not at build time. I got this hint from others on the list and it works well. I protected the generator step in my CMakeLists.txt with a check if th

Re: [CMake] Technique for generating projects that depend ongenerated sources

2009-03-03 Thread Steve Huston
Thanks very much for all the hints - I appreciate it. > -Original Message- > From: cmake-boun...@cmake.org > [mailto:cmake-boun...@cmake.org] On Behalf Of Eric Noulard > > 2009/3/1 Alexander Neundorf : > > On Friday 27 February 2009, Steve Huston wrote: > >&g

Re: [CMake] Technique for generating projects that depend on generated sources

2009-02-27 Thread Steve Huston
the build now that the complete list of sources is known. - rerun the build with the complete set of sources I tried to make that all happen automatically in the build. -Steve -- Steve Huston, Riverace Corporation Check out my networked programming blog at http://stevehuston.wordpress.com

[CMake] Technique for generating projects that depend on generated sources

2009-02-26 Thread Steve Huston
e now-known set of generated sources, an error was thrown because cmake couldn't update VS macros while VS is running. So close, yet so far... ;-) Is there a common pattern for how to address this type of situation? Thanks, -Steve -- Steve Huston, Riverace Corporation Check out my networked

[CMake] Cmake replacement for AC_SEARCH_LIBS?

2009-02-25 Thread Steve Huston
t really the same as CheckLibraryExists... Is there something that does this in cmake? Thanks, -Steve -- Steve Huston, Riverace Corporation Check out my networked programming blog at http://stevehuston.wordpress.com/ ___ Powered by www.kitware.com Visi

Re: [CMake] Boost.Test, cmake, and visual studio

2007-08-30 Thread Steve M. Robbins
Hi again, I found the answer to my problem in the CMake FAQ. Hurray! On Wed, Aug 29, 2007 at 09:19:51AM -0500, Steve M. Robbins wrote: > Reluctantly, I gave up and went back to ADD_CUSTOM_TARGET. The > following gives me exactly what I want: [...] The clue I need

[CMake] Boost.Test, cmake, and visual studio

2007-08-30 Thread Steve M. Robbins
gous usage in ADD_TEST (see above) *did* work! (???) 2. The dependency on testSuite_EXE doesn't work: if I modify one of the testSuite sources, running the custom target doesn't rebuild testSuite.exe. Maybe this is a symptom of #1? Thanks f

[CMake] Boost.Test, cmake, and visual studio

2007-08-30 Thread Steve M. Robbins
bove) *did* work! 2. The dependency on testSuite_EXE doesn't work: if I modify one of the testSuite sources, running the custom target doesn't rebuild testSuite.exe. Maybe this is a symptom of #1? Thanks for reading this far. Any suggestions welcome. -St

[CMake] Lint and cmake

2007-02-03 Thread Steve Atkins
The latter is easy enough, but I'm not seeing any easy way to find the former. So... is there any easy way to retrieve the equivalent of CPPFLAGS, the -I and -D parameters, from within cmake? Cheers, Steve ___ CMake mailing list CMake

[CMake] Re: Compiling VTK-5.0.2 with Cygwin make

2006-10-19 Thread Steve Robbins
Hello all, This thread begins at http://public.kitware.com/pipermail/vtkusers/2006-September/087106.html Quoting Steve Robbins <[EMAIL PROTECTED]>: I'm having the same problem as Patrick D. Emond [http://public.kitware.com/pipermail/vtkusers/2006-September/086953.html] in b

Re: [CMake] cmake side effects: possible bug

2006-08-27 Thread Steve Johns
Michael Bell wrote: ADD_CUSTOM_TARGET(makeExecutable ALL) FOREACH(file ${SCRIPTS}) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file} ${EXECUTABLE_OUTPUT_PATH}/../${file} @ONLY) ADD_CUSTOM_COMMAND( TARGET makeExecutable POST_BUILD COMMAND chmod ARGS

Re: [CMake] Setting Working Directory for Debugging in MS VC++ via CMake

2006-08-03 Thread Steve Johns
Thanks for the scoop regarding the storage of the 'Working Directory' property. It's too bad Microsoft's use of the .suo file here doesn't play so well with others ... Nice though, that this is now part of the FAQ document. Cheers! :^) ___ CM

[CMake] Setting Working Directory for Debugging in MS VC++ via CMake

2006-08-02 Thread Steve Johns
Recently, in an MS VC++ 7.1 (.NET 2003) build prepared using CMake, I've had a problem with the application finding a config file that it needs to read at startup. Even though I placed the file in the app's startup dir (i.e. 'blahblah/Debug', when debugging ) the app was not finding the file.

Re: [CMake] a dependency nag/bug

2006-07-11 Thread Steve Johns
To me the naïve invocation should be safe and the special invocation should be the unsafe one. I agree completely. I'd suggest an addition to the FAQ about the subject. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmak

Re: [CMake] How to create SOURCE_GROUP for include files

2006-07-07 Thread Steve Johns
The source and header files will not magically be found in other directories. You have to tell CMake where to find them. Try this in the top-level CMakeLists.txt file: ADD_LIBRARY(mylib src/x.cpp incl/x.hpp) SOURCE_GROUP("Include Files" FILES incl/x.hpp) Basically source files have to be nam

Re: [CMake] How to create SOURCE_GROUP for include files

2006-07-07 Thread Steve Johns
SOURCE_FILES( "Include Files" FILES afile.hpp bfile.hpp ) This just assigns a group to the source files, but they still have to be explicitly added to the source list of a target. So, with a source dir tree like this: ProjDir src incl lib into which directory's CMakelists.txt fil

[CMake] How to create SOURCE_GROUP for include files

2006-07-07 Thread Steve Johns
Hi. What I would like to accomplish: In the MS VC7.1 .Net IDE In the Solution Explorer, inside my project's folder, at the same level as the 'Source Files' folder, I would like to create a 2nd folder 'Include Files' that would contain/display the ".hpp" files for my project. My source tree

[CMake] Copying a data directory

2006-07-03 Thread Steve Johns
Can someone suggest a good way to copy a data directory from the source tree to the build tree? I want to be do this for both Unix and VC builds. The purpose is just to have some test input data available in the location where the newly built program is looking for it.

[CMake] CVS CMake self-build and CPack - very nice!

2006-07-03 Thread Steve Johns
This is a story post, and a thank-you post. I recently built the CVS version of CMake for the first time, and then went on to package it into a "personal binary distro" using CPack (and NSIS). Here's how I did it. I fetched the CVS version of CMake, and used my installed binary version of CMake

Re: fixed - Re: [CMake] Forcing C++: What Causes VC Warning D4025 : overriding /TP with /TC

2006-06-30 Thread Steve Johns
Thanks, Bill! ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: fixed - Re: [CMake] Forcing C++: What Causes VC Warning D4025 : overriding /TP with /TC

2006-06-30 Thread Steve Johns
derstand how to do so. I would welcome guidance on any/all of a) - c), in whole or in part. Thanks! - Steve Earlier post: Thank you for this info. I'm now looking at something that seems relevant, but this look has raised more questions in my mind. I am currently running the

  1   2   >