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
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
> 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
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
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:
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
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-
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
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
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
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
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
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
(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
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
? 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
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
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
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
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-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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
.
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
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
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:
>>
>>
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
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
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
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
> 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
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
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
}/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
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
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
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
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
[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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
:
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 &
70 matches
Mail list logo