[CMake] CPack`ing a bunch of command line tools on OS/X

2019-06-28 Thread Torsten Robitzki
omments? best regards, Torsten signature.asc Description: Message signed with OpenPGP -- 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 CMake community. For more infor

Re: [CMake] Embedded build using ExternalProject

2019-06-27 Thread Torsten
nless developers > are expected to modify something the external project’s build depends on in a > way that is not detectable via the step target dependencies (e.g. SOURCE_DIR > is used without a download method and developers might modify the sources in > SOURCE_DIR). I’ve applied t

Re: [CMake] Embedded build using ExternalProject

2019-06-26 Thread Torsten
> Am 26.06.2019 um 20:07 schrieb Hendrik Sattler : > >> ExternalProject_Add(firmware_binaries >> SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/source >> INSTALL_DIR ${installDir} >> CMAKE_ARGS >> -DCMAKE_INSTALL_PREFIX:PATH= >> -DBOOTLOADER_AES_KEY=${BOOTLOADER_AE

Re: [CMake] Embedded build using ExternalProject

2019-06-26 Thread Torsten Robitzki
Hi Albrecht, > Am 26.06.2019 um 19:10 schrieb Albrecht Schlosser : > > On 6/26/19 3:53 PM Torsten Robitzki wrote: > >> I don’t want to build any EOL test firmware, test-tools etc. just the stuff >> that will be shipped, thus the explicit target. I can build the >&g

[CMake] Embedded build using ExternalProject

2019-06-26 Thread Torsten Robitzki
s not added as subdirectory to the top level (super build) CMakeLists.txt). best regards, Torsten P.S.: $ cmake --version cmake version 3.14.3 signature.asc Description: Message signed with OpenPGP -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http:

Re: [CMake] Checking Variables in a tool-chain file

2019-02-03 Thread Torsten
elseif(NOT EXISTS ${tools}/bin) message(FATAL_ERROR "To configure the arm-none-eabi-gcc correctly, please set ARM_GCC_TOOL_PATH to the path that contains the bin directory of your GCC installation.") endif() Will this fail eventually? kind regards, Torsten signature.a

Re: [CMake] Syntax to document cmake files, functions and macros

2019-01-31 Thread Torsten Robitzki
Sphinx. We use sphinxcontrib.moderncmakedomain as extension, which adds CMake syntax highlighting and sphinx.ext.intersphinx to allow us, to refer to the original CMake documentation. regards, Torsten signature.asc Description: Message signed with OpenPGP -- Powered by www.kitware.com Please keep messages on-

Re: [CMake] Checking Variables in a tool-chain file

2019-01-31 Thread Torsten
m. Thanks a lot! Torsten signature.asc Description: Message signed with OpenPGP -- 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 CMake community. For more information o

Re: [CMake] Checking Variables in a tool-chain file

2019-01-31 Thread Torsten
INDING=nrf52 -DCMAKE_TOOLCHAIN_FILE=../cmake/gcc-arm-none-eabi.cmake -DNRF5_SDK_ROOT=~/CMSIS/nRF5_SDK_14-2/ .. Thanks for the pointer, I will think about it. kind regards, Torsten signature.asc Description: Message signed with OpenPGP -- Powered by www.kitware.com Please keep messages on-topic a

[CMake] Checking Variables in a tool-chain file

2019-01-30 Thread Torsten Robitzki
message, in case that this variable is not set. The „usual“ check for the existence of the variable doesn’t work, because the tool-chain file is included in different context, without access to the cache. Any idea? regards, Torsten signature.asc Description: Message signed with OpenPGP

[CMake] add_executable() with BYPRODUCT

2019-01-19 Thread Torsten Robitzki
the resource calculation dependent on the map file. Thus a missing map file would result in a relinking of the executable. Is it possible to define a BYPRODUCT of an executable, somehow? Kind regards, Torsten signature.asc Description: Message signed with OpenPGP -- Powered by

[CMake] Integrating Build Date/Time into Binary

2019-01-16 Thread Torsten Robitzki
files in the resulting binary. How do others solve this or similar problems? Any comments to our ideas? TIA, Torsten signature.asc Description: Message signed with OpenPGP -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki

[CMake] Escaping end of line anker in regex

2019-01-10 Thread Torsten Robitzki
Hi, I’ve stumbled over following issue: if (NOT ^ MATCHES ^\^ ) message(FATAL_ERROR "Anker not found!") endif() if (NOT $ signature.asc Description: Message signed with OpenPGP -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.or

[CMake] extending clean for Ninja

2018-12-06 Thread Torsten Robitzki
(to delete the output files when Ninja -t clean is called)? Best regards, Torsten signature.asc Description: Message signed with OpenPGP -- 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

Re: [CMake] What is --build-two-config good for

2018-12-06 Thread Torsten
exist and saved > into the cache. By running CMake a second time for these projects the > evaluation works ‚as intended' at the build is the correct state. thanks for the explanation! regards, Torsten signature.asc Description: Message signed with OpenPGP -- Powered by www.kitware

[CMake] What is --build-two-config good for

2018-12-05 Thread Torsten Robitzki
? What could be the reason to run CMake twice, when running CMake in a test from CTest? Best regards, Torsten signature.asc Description: Message signed with OpenPGP -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [CMake] dependencies of cross compiliations

2018-12-03 Thread Torsten Robitzki
27;s sort of what I would like to > have. Now it's your turn. No bikeshedding please, only deliveries ;) How about ``add_dependencies()`` allowing me to define dependencies between different build types? :-) best regards, Torsten signature.asc Description: Message signed with OpenPGP

Re: [CMake] How is ARGN passed to a macro

2018-11-21 Thread Torsten Robitzki
ehavior is defined and (most likely) stays this way, I can work with it :-) regards, Torsten signature.asc Description: Message signed with OpenPGP -- 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 var

[CMake] How is ARGN passed to a macro

2018-11-21 Thread Torsten Robitzki
cro check_argn ARGN: in function ARGN: 2 in macro check_argn ARGN: ARG: 2 ARGN: I would expect ARGN to behave exactly the same in the macro, as in the function, but apparently there is a difference. Can someone of you explain that to me? TIA and kind regards, Torsten -- Powered by

Re: [CMake] dependencies of cross compiliations

2018-11-10 Thread Torsten Robitzki
his will work best. Especially, if there are source files (for example constants) are shared among both platforms. Thanks, Torsten -- 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 su

[CMake] dependencies of cross compiliations

2018-11-09 Thread Torsten Robitzki
„CMake-Way“ to add the tools (that have to be build on the Target platform) as dependency to targets that have to be build for the Target (cross compile) platform? Kind regards and thanks in advance, Torsten -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

[CMake] How to install Python3 package?

2015-05-23 Thread Torsten Bronger
ard IMO. Tschö, Torsten. -- Torsten BrongerJabber ID: torsten.bron...@jabber.rwth-aachen.de -- 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 CMake community. For more info

[CMake] problems configuring with multiple zlib version

2012-02-21 Thread Torsten Rohlfing
first look in /opt/local? Thanks! Torsten -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscrib

[CMake] CMake 2.8.1 / Win: Neither if nor else?`

2010-05-21 Thread Torsten Rohlfing
g: Visual Studio 10 Check for working CXX compiler using: Visual Studio 10 -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS) Configuring done Can someone explain to me what I am missing? Thanks

Re: [CMake] Problem with ASM and COMPILE_DEFINITIONS

2009-05-27 Thread Torsten Maehne
Hello Marcel, you've stumpled on a bug in CMake <http://www.cmake.org/Bug/view.php?id=8107>, which has been fixed in CMake 2.6.4. Best regards, Torsten Marcel Loose schrieb: Hi all, I have a problem compiling assembly files. I followed the directions on the Wiki http://www.cma

Re: [CMake] CPack NSIS no branding image

2008-06-19 Thread Torsten Grote
Torsten Grote said the following on 06/08/2008 03:47 PM: Other suggestions are welcome. I would also like to know, if you can reproduce this error. Is nobody using CPack to create NSIS installers? Greets, Torsten ___ CMake mailing list CMake

Re: [CMake] CPack NSIS no branding image

2008-06-08 Thread Torsten Grote
e... Thank you very much for your response. Unfortunately, I tried that already and it didn't help. Also if I change the filename to something nonexistent, I get a different error ("no files found"). Other suggestions are welcome. I would also like to know, if you can reprodu

[CMake] CPack NSIS no branding image

2008-06-01 Thread Torsten Grote
age test.bmp exists and is a Windows bmp file. I checked the wiki and the sparse documentation, but was unable to find any clue. If you have any ideas, please let me now! Thanks and Regards, Torsten ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

RE: [CMake] VS makefiles

2008-01-23 Thread Torsten Martinsen
Steven Van Ingelgem <> wrote: > Hi, > > > I was wondering why there are no VS makefiles? (run like nmake -f > project.mak). You want the "NMake Makefiles" generator. -Torsten This e-mail and any files sent with it contain information that may be privileged or c

[CMake] RE: Adding Custom Build Types

2008-01-15 Thread Torsten Martinsen
Search the mailing list archives. This was discussed some weeks ago. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Malhotra, Anupam Sent: 15 January 2008 06:37 To: cmake@cmake.org Subject: [CMake] Adding Custom Build Types Hi I have a requirement

RE: [CMake] MSVC turn off RelWithDebInfo and MinSizeRel

2008-01-01 Thread Torsten Martinsen
Actually, I always use the command line. So I haven't tried it from the GUI. From: Jesse Corrington [mailto:[EMAIL PROTECTED] Sent: 21 December 2007 20:06 To: Torsten Martinsen Cc: David Cole; cmake@cmake.org Subject: Re: [CMake] MSVC turn off RelWithDebInf

RE: [CMake] MSVC turn off RelWithDebInfo and MinSizeRel

2007-12-20 Thread Torsten Martinsen
rather than using a simple set.) > SET(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "limited configs" > FORCE) FWIW, this seems to work for me. -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is th

RE: [CMake] MSVC turn off RelWithDebInfo and MinSizeRel

2007-12-20 Thread Torsten Martinsen
Unfortunately, this does not work. I just tried adding SET(CMAKE_CONFIGURATION_TYPES "Debug;RelWithDebInfo") at the top of my CMakeLists.txt, then deleted my build tree and ran cmake. The generated project files still contain Debug, Release, MinSizeRel and RelWithDebInfo.

RE: [CMake] Compilation speed with CMake/NMake combination, making it faster?

2007-12-11 Thread Torsten Martinsen
ource files. This costs, due to the high process overhead on Windows. -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This information is intended solely for the person to whom it is addres

RE: [CMake] cmake 2.4.8 RC 4

2007-12-05 Thread Torsten Martinsen
Bill Hoffman <mailto:[EMAIL PROTECTED]> wrote: > Torsten Martinsen wrote: >> Could we please get the patch for bug 3218 into this release? >> > > I am not sure. The last time I applied that patch or a similar one > lots of tests failed and there was trouble so I ha

RE: [CMake] cmake 2.4.8 RC 4

2007-12-05 Thread Torsten Martinsen
Could we please get the patch for bug 3218 into this release? -Torsten From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Bill Hoffman [EMAIL PROTECTED] Sent: 05 December 2007 23:13 To: cmake@cmake.org Subject: [CMake] cmake 2.4.8 RC 4 I have a beta

RE: [CMake] cross compiling

2007-11-30 Thread Torsten Martinsen
The CVS version does, yes. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josef Karthauser Sent: 30 November 2007 09:54 To: Jesse Corrington; Salvatore Iovene Cc: cmake@cmake.org; [EMAIL PROTECTED] Subject: RE: [CMake] cross compiling Did I miss so

RE: [CMake] Choosing between debug and release variants of third-party libraries

2007-11-14 Thread Torsten Martinsen
. But that does not solve the problem of how to *use* those variables in TARGET_LINK_LIBRARIES() without getting the 'It is impossible to order the linker search path in such a way that libraries specified as full paths will be picked by the linker' error. Am I doing something wrong, or

RE: [CMake] Choosing between debug and release variants of third-party libraries

2007-11-13 Thread Torsten Martinsen
tory: c:/lang/qt/3.3.4/lib contains: Library: C:/lang/qt/3.3.4r/lib/qtmain.lib Directory: c:/lang/qt/3.3.4r/lib contains: Library: C:/lang/qt/3.3.4/lib/qtmain.lib -Torsten This e-mail and any files sent with it contain information that may be privileged or confidentia

RE: [CMake] Choosing between debug and release variants of third-party libraries

2007-11-09 Thread Torsten Martinsen
Philip Lowman <mailto:[EMAIL PROTECTED]> wrote: > Torsten Martinsen wrote: >> I'm sure this is a FAQ, but I cannot find the answer anywhere. >> >> Using VS 2003, given that I have a third-party library with debug >> and release variants: >> >>

[CMake] Choosing between debug and release variants of third-party libraries

2007-11-07 Thread Torsten Martinsen
th in TARGET_LINK_LIBRARIES() does not work, and I cannot use CMAKE_BUILD_TYPE at configure time. -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This information is intended solely for the p

RE: [CMake] disabling the cache

2007-10-31 Thread Torsten Martinsen
cing Visual Studio to reload the project, and the automatic detection of whether the project file has changed only works sometimes. I find that an effective workaround is to invoke Alt-F T and then Alt-F J Enter :-) -Torsten This e-mail and any files sent with it contain information that may

RE: [CMake] Adding a project to a solution.

2007-10-25 Thread Torsten Martinsen
libraries. I > would expect these to get added too. That, unfortunately, doesn't happen with vanilla CMake 2.4.7. I have applied the patch from bug 3218: http://cmake.org/Bug/view.php?id=3218, and that makes it work for me. -Torsten This e-mail and any files sent with it contain informatio

RE: [CMake] Native Pathsupport under Windows

2007-10-23 Thread Torsten Martinsen
gt; COMMAND copy ${RESULT}\\image.h+${RESULT}\\test.h ${RESULT}\\image.h > VERBATIM) To copy files, use "${CMAKE_COMMAND} -E copy". -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This

RE: [CMake] Native Pathsupport under Windows

2007-10-23 Thread Torsten Martinsen
> 1. Is there a possiblity to get backslashes instead of slashes as > paths? FILE(TO_NATIVE_PATH ...) -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This information is intended s

RE: [CMake] Adding .pdb files to CPack (Visual Studio 7 generator)

2007-10-12 Thread Torsten Martinsen
Torsten Martinsen <> wrote: > Hendrik Sattler <> wrote: > >> Did you try using the LOCATION property of the TARGET stripping the >> extension and using that? > > Not until now, but: The LOCATION property expands to e.g. > "C:/user/gh/ais/impl/buil

RE: [CMake] Running unit test executable

2007-10-09 Thread Torsten Martinsen
Torsten Martinsen <> wrote: > I am trying to get CMake to run my CppUnit tests automatically after > building from within Visual Studio .NET 2003. Update: I tried with the latest snapshot (cmake version 2.5-20071009) as well as with the NMake configuration, but it still looks as if C

[CMake] Running unit test executable

2007-10-08 Thread Torsten Martinsen
}/phony.txt COMMAND ${TEST_EXE} DEPENDS tcsv) Given this CMakeLists.txt, I would expect the generated .vcproj file to have a Post-Build Event that runs tcvs.exe. No such event is generated, however. Any pointers? -Torsten This e-mail and any files sent with it contain information that may be

RE: [CMake] Compiling without linking

2007-10-04 Thread Torsten Martinsen
ach application to it. -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This information is intended solely for the person to whom it is addressed. If you are not the intended recipient, you

RE: [CMake] Compiling without linking

2007-10-04 Thread Torsten Martinsen
explain what it is you are trying to do, i.e. why you think that you need to explicitly split up the steps of compiling and linking. -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This informat

RE: [CMake] Building both make files and visual studio files.

2007-10-01 Thread Torsten Martinsen
n continue to with within the visual studio environment, > which would call the make as an external build tool. I would recommend to set up CMake to generate .vcproj files, and use those both for the IDE and for command-line builds (using vcbuild.exe or devenv.exe). -Torsten This e-mail an

RE: [CMake] Confikgurations and Platforms in Visual Studio 8

2007-09-27 Thread Torsten Martinsen
e've got more configurations than this. http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_wit h_a_custom_made_one_.3F > Also, does cmake have an idea of platforms, or does it assume Win32? CMake does not assume anything about Wi

RE: [CMake] Macro command

2007-09-24 Thread Torsten Martinsen
[EMAIL PROTECTED] <> wrote: > I want to write a macro for a local used command. > > Is it possibly to use CMAKE_CURRENT_BINARY_DIR in the macro? Yes. > Where does it point to? To the current binary directory of the called > CMakeLists.txt Yes. -Torsten This e-mail and a

RE: [CMake] Adding .pdb files to CPack (Visual Studio 7 generator)

2007-09-18 Thread Torsten Martinsen
Hendrik Sattler <> wrote: > Did you try using the LOCATION property of the TARGET stripping the > extension and using that? Not until now, but: The LOCATION property expands to e.g. "C:/user/gh/ais/impl/build/cmake/vc7/ca/$(OutDir)/ca.exe", so that is also no good. -Torste

[CMake] Adding .pdb files to CPack (Visual Studio 7 generator)

2007-09-18 Thread Torsten Martinsen
RUNTIME DESTINATION bin) This, unfortunately, gives the error FILE INSTALL cannot find file "C:/user/gh/ais/impl/build/cmake/vc7/ca/$(OutDir)/ca.pdb" to install. Note that ${CMAKE_CFG_INTDIR} expands to "$(OutDir)" instead of e.g. "Debug" as I had hope

RE: [CMake] CPack

2007-09-17 Thread Torsten Martinsen
is not immediately obvious is that 2.4.7 *requires* zip.exe to reside in c:/cygwin/bin. (Bad luck if you do not have a C: drive). -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This information is

RE: [CMake] Visual Studio reload projects

2007-08-31 Thread Torsten Martinsen
Manuel Klimek <> wrote: > On 8/30/07, Torsten Martinsen <[EMAIL PROTECTED]> wrote: >> I, too, use Emacs. However, do not be oblivious to the fact that an >> nmake build can take around five times longer than an IDE build. > > why do you use nmake and not msbuild

RE: [CMake] Visual Studio reload projects

2007-08-30 Thread Torsten Martinsen
t; > > Sure. Don't use Visual Studio. Stick to nmake and a good editor like > emacs. You'll be a happier person in the long run. I, too, use Emacs. However, do not be oblivious to the fact that an nmake build can take around five times longer than an IDE build. -Torsten This e-ma

RE: RE: [CMake] Location of ui and moc generated files (qt)

2007-08-14 Thread Torsten Martinsen
Maik Keller <mailto:[EMAIL PROTECTED]> wrote: > Thanks Torsten. I just tested it, and it seems to work with > CMAKE_CURRENT_SOURCE_DIR. Would it be possible to provide me with > your implementation of the AIS_MOC macro as well? Here it is: # Run Qt MOC on a C++ header fi

RE: [CMake] Location of ui and moc generated files (qt)

2007-08-14 Thread Torsten Martinsen
Maik Keller <mailto:[EMAIL PROTECTED]> wrote: > Thank you Torsten! > If I would exchange CMAKE_CURRENT_BINARY_DIR for > CMAKE_CURRENT_SOURCE_DIR in your macro and if I would also add > CMAKE_CURRENT_SOURCE_DIR to my include directories, then it should > work the way as I nee

RE: [CMake] Feature Request: FILE (GLOB files "*.c" EXCEPT main.ctest.c)

2007-08-14 Thread Torsten Martinsen
Alexandru Ciobanu <> wrote: > Hi, Alex! > > What I understood from you message is that: > set ( src a1.c a2.c ) > add_executable ( cool ${src} ) > *will* detect when a3.c is added. No, it won't. -Torsten This e-mail and any files sent with it co

RE: [CMake] Location of ui and moc generated files (qt)

2007-08-14 Thread Torsten Martinsen
URCES} ${outcppfile}) LIST(APPEND AIS_UIC_HEADERS ${outhfile}) ENDFOREACH (it) ENDMACRO(AIS_UI) Note that this also generates the header file out-of-source - therefore I have this line in another macro: INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) (This macro is used in all my pr

RE: [CMake] Visual Studio solutions

2007-08-10 Thread Torsten Martinsen
tch for 2.4.7, and I am now deploying the patched version to my group. I hope this patch will be included in the next version. -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This informatio

RE: [CMake] Get Windows Registry Key!!!! Doesn't work!!!

2007-08-09 Thread Torsten Martinsen
Berardino la Torre wrote: > I'm trying to read an installation path from the windows registry: > > SET(FBXSDK_ROOT_PATH > [HKEY_LOCAL_MACHINE\\SOFTWARE\\FBX\\File SDK 2006.11.1;Install_Dir] > CACHE PATH "FBX") Where did you see documented that this is suppo

RE: [CMake] Post Build Custom Copy Command

2007-08-09 Thread Torsten Martinsen
E copy ${MYLIBRARY_SOURCE_DIR}/lib/release/mylib.dll ${MYLIBRARY_SOURCE_DIR}/bin/release -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This information is intended solely for the person to whom it is addressed.

RE: [CMake] Visual Studio solutions

2007-07-27 Thread Torsten Martinsen
Sylvain Benner <mailto:[EMAIL PROTECTED]> wrote: > Torsten Martinsen a écrit : >> Hi, >> >> when I use the "Visual Studio 7 .NET 2003" generator, CMake generates >> one .vcproj file for each library/application, >> and one .sln file that co

RE: [CMake] Visual Studio folders

2007-07-27 Thread Torsten Martinsen
tion > Explorer? Perhaps you want the SOURCE_GROUP command. On a related note, is it possible to use variables as an argument to the SOURCE_GROUP command? I.e. something like SOURCE_GROUP("Generated Header Files" FILES ${UIC_HEADERS} ) -Torsten

[CMake] Visual Studio solutions

2007-07-27 Thread Torsten Martinsen
cation, so that a developer working on that application does not have to load the full solution file. Is this possible? -Torsten This e-mail and any files sent with it contain information that may be privileged or confidential and is the property of the GateHouse Group. This information is inten

RE: [CMake] VC7.1 project files and /TP

2007-07-24 Thread Torsten Martinsen
Bill Hoffman <mailto:[EMAIL PROTECTED]> wrote: > SET_SOURCE_FILES_PROPERTIES( ${C_SOURCE} PROPERTIES LANGUAGE CXX) > > It should work in 2.4.7, but the docs for 2.4.7 have not been updated > to include this, but the code has it. Thanks, that seems to work perfectly. -Torste

[CMake] VC7.1 project files and /TP

2007-07-24 Thread Torsten Martinsen
: if(strcmp(linkLanguage, "C") == 0) { flags += " /TC "; } if(strcmp(linkLanguage, "CXX") == 0) { flags += " /TP "; } I have also tried SET_SOURCE_FILES_PROPERTIES( ${C_SOURCE} PROPERTIES COMPILE_FLAGS &