Hello,
I am using the TI-CGT compiler and have been successful in getting all my
source files to compile. However, I am unable to get the link command to
successfully link, and I have crafted a manual link command which I have to
then manually enter into the terminal once the build compiles all
On Wed, Jun 13, 2018 at 9:46 PM Andrew White
wrote:
> J Decker wrote:
>
> You can define a variable to define the base of the sources
>
> set( SOURCE_ROOT /some/path )
>
>
>
> could be set relative to the current cmake path per cmake that uses those
>
> souces... and then just prefix it
>
>
J Decker wrote:
You can define a variable to define the base of the sources
set( SOURCE_ROOT /some/path )
could be set relative to the current cmake path per cmake that uses those
souces... and then just prefix it
add_library(my_lib
${SOURCE_ROOT}/src/a.c
On Tue, Jun 12, 2018 at 7:22 PM Andrew White
wrote:
> I have a situation where I want my CMakeLists.txt in a different place
> than my source.
>
> e.g.:
>
> /some/path/project/CMakeLists.txt
> /other/path/source/src/a.c
> /other/path/source/include/a.h
>
> Is there an easy way to say "process
I have a situation where I want my CMakeLists.txt in a different place than my
source.
e.g.:
/some/path/project/CMakeLists.txt
/other/path/source/src/a.c
/other/path/source/include/a.h
Is there an easy way to say "process this CMakeLists.txt as if it were in
/other/path/source" (at least as
On 13.09.2017 14:31, Alain Miniussi wrote:
On 13/09/2017 12:49, Nils Gladitz wrote:
[...]
Do you have a minimal reproducible example for that behaviour?
e.g. given:
cmake_minimum_required(VERSION 2.8.0)
project(Foo NONE)
file(WRITE foo/CMakeLists.txt "add_executable()")
On 13/09/2017 12:49, Nils Gladitz wrote:
[...]
Do you have a minimal reproducible example for that behaviour?
e.g. given:
cmake_minimum_required(VERSION 2.8.0)
project(Foo NONE)
file(WRITE foo/CMakeLists.txt "add_executable()")
add_subdirectory(foo)
I get:
CMake
On 13 September 2017 at 12:49, Nils Gladitz wrote:
> On 13.09.2017 12:22, Alain Miniussi wrote:
>> On 13/09/2017 11:16, Nils Gladitz wrote:
>>> On 13.09.2017 10:52, Alain Miniussi wrote:
Is there a way, when printing CMake error, to get the exact location of
On 13.09.2017 12:22, Alain Miniussi wrote:
On 13/09/2017 11:16, Nils Gladitz wrote:
On 13.09.2017 10:52, Alain Miniussi wrote:
Hi,
Is there a way, when printing CMake error, to get the exact location
of the CMakeLists.txt ?
For example, right now, when I have:
CMake Error at
On 13/09/2017 11:16, Nils Gladitz wrote:
On 13.09.2017 10:52, Alain Miniussi wrote:
Hi,
Is there a way, when printing CMake error, to get the exact location
of the CMakeLists.txt ?
For example, right now, when I have:
CMake Error at CMakeLists.txt:14 (add_executable):
I need to scan
On 13.09.2017 10:52, Alain Miniussi wrote:
Hi,
Is there a way, when printing CMake error, to get the exact location
of the CMakeLists.txt ?
For example, right now, when I have:
CMake Error at CMakeLists.txt:14 (add_executable):
I need to scan all my CMakeLists.txt (~200) to check which
Hi,
Is there a way, when printing CMake error, to get the exact location of
the CMakeLists.txt ?
For example, right now, when I have:
CMake Error at CMakeLists.txt:14 (add_executable):
I need to scan all my CMakeLists.txt (~200) to check which one has
add_executable at line 14.
Thanks
ot;Test ${CTEST_BUILD_NAME} failed.") # sets return
> value to -1
>
> endif(configure_failed OR build_failed OR test_failed)
>
>
>
> Best regards,
>
> Miroslav
>
>
>
> *From:* Muhammad Osama [mailto:osam...@gmail.com]
> *Sent:* Monday, April 18, 2016 8:33
{CTEST_BUILD_NAME} failed.") # sets return value
to -1
endif(configure_failed OR build_failed OR test_failed)
Best regards,
Miroslav
From: Muhammad Osama [mailto:osam...@gmail.com]
Sent: Monday, April 18, 2016 8:33 PM
To: Matějů Miroslav, Ing.
Cc: cmake@cmake.org
Subject: Re: [CMake] CMakeLis
iled)
>
> message(FATAL_ERROR "Test ${CTEST_BUILD_NAME} failed.")
>
> endif()
>
>
>
> Best regards,
>
> Miroslav
>
>
>
> *From:* CMake [mailto:cmake-boun...@cmake.org] *On Behalf Of *Muhammad
> Osama
> *Sent:* Friday, April 15, 2016 8:53 PM
&
,
Miroslav
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Muhammad Osama
Sent: Friday, April 15, 2016 8:53 PM
To: cmake@cmake.org
Subject: [CMake] CMakeLists.txt: How to print a message if ctest fails?
Is there a way I can setup CMakeLists.txt to print a message if ctest tests
fail? F
Is there a way I can setup CMakeLists.txt to print a message if ctest tests
fail? For example:
cmake ..
make
ctest // fails
message output: Please contact x...@mail.com to resolve testing problems.
Note the message output is not for cmake but for ctest.
--
Muhammad
--
Powered by
In order to fix something, I need to know how to undo it first.
An answer of, Gee, we don't know how to undo what was done and we never
thought it may be necessary would suffice if the system was made as such.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ
The CMakeLists.txt command
option( option_variable help string describing option [initial
value] )
Provides an option for the user to select as ON or OFF; i.e., a BOOL.
How does one provide an option for the user to select that is a PATH ?
--
Powered by www.kitware.com
Visit other
On Sunday 28 October 2012, Brad Bell wrote:
The CMakeLists.txt command
option( option_variable help string describing option [initial
value] )
Provides an option for the user to select as ON or OFF; i.e., a BOOL.
How does one provide an option for the user to select that is a PATH ?
Hey,I need to that what should i do in
cmakelists.txt http://pastebin.com/raw.php?i=BGV9NAmQ since i am getting this
error (target_link_libraries): Cannot specify link libraries for target
ptedit_1 which is not built by this project.
Please suggest the errors and the suggested commands
On Sun, Jun 24, 2012 at 5:57 AM, Heena Mahur hen...@rocketmail.com wrote:
Hey,I need to that what should i do in
cmakelists.txt http://pastebin.com/raw.php?i=BGV9NAmQ since i am getting
this error (target_link_libraries): Cannot specify link libraries for
target ptedit_1 which is not built
Robert Dailey wrote:
Just curious about how you guys came up with the name 'CMakeLists.txt'.
While I've grown to accept it, I still can't say I really understand the
meaning of the name. Something that would make sense to me is
CMakeScript.txt or CMakeFile. I am especially curious as to why
Just curious about how you guys came up with the name 'CMakeLists.txt'.
While I've grown to accept it, I still can't say I really understand the
meaning of the name. Something that would make sense to me is
CMakeScript.txt or CMakeFile. I am especially curious as to why you guys
use an extension.
On Saturday 25 April 2009, Pau Garcia i Quiles wrote:
On Fri, Apr 24, 2009 at 7:13 PM, Miguel A. Figueroa-Villanueva
migu...@ieee.org wrote:
On Fri, Apr 24, 2009 at 6:14 AM, Boudewijn Rempt wrote:
Has anyone by any chance already done a CMakeLists.txt file for
GraphicsMagick or
On Saturday 25 April 2009, Philip Lowman wrote:
If someone ends up doing this please consider submitting the work to
CMakePorts.
http://code.google.com/p/cmakeports
If nobody has done it before I'll probably have to do it, but it won't be
totally production quality. GraphicsMagick is a
On Fri, Apr 24, 2009 at 6:14 AM, Boudewijn Rempt wrote:
Has anyone by any chance already done a CMakeLists.txt file for GraphicsMagick
or ImageMagick? I'd like to integrate either in the build of our application,
instead of relying on installed packages, but I'd hate to do duplicate work...
On Fri, Apr 24, 2009 at 7:13 PM, Miguel A. Figueroa-Villanueva
migu...@ieee.org wrote:
On Fri, Apr 24, 2009 at 6:14 AM, Boudewijn Rempt wrote:
Has anyone by any chance already done a CMakeLists.txt file for
GraphicsMagick
or ImageMagick? I'd like to integrate either in the build of our
On Fri, Apr 24, 2009 at 8:01 PM, Pau Garcia i Quiles
pgqui...@elpauer.orgwrote:
On Fri, Apr 24, 2009 at 7:13 PM, Miguel A. Figueroa-Villanueva
migu...@ieee.org wrote:
On Fri, Apr 24, 2009 at 6:14 AM, Boudewijn Rempt wrote:
Has anyone by any chance already done a CMakeLists.txt file for
Im setting up the build environment for our project
and Ive been looking around to find some examples of how to create
CMakelists.txt files and the only examples Ive come across so far are
the trivial ones on the cmake page and the crazy convoluted ones (well, from my
novice perspective)
Hi Richard,
Richard Fuchs wrote:
Are there any other places that I can look to find some examples while I
wait for my cmake book to arrive in the mail? Any pointers would be
useful. Thanks
I found the latest Scribus (http://www.scribus.net) CVS source to be
quite helpful as an example
Richard Fuchs wrote:
Im setting up the build environment for our project
and Ive been looking around to find some examples of how to create
CMakelists.txt files and the only examples Ive come across so far are
the trivial ones on the cmake page and the crazy convoluted ones (well,
32 matches
Mail list logo