Makes sense, thank you so much Nicholas! I will give this a try.
On Tue, Mar 8, 2016 at 5:19 PM, Nicholas Braden
wrote:
> Yep, just make each project act independently with no knowledge of the
> superproject, and have the superproject glue it all together as a
> convenience for the user if they
Yep, just make each project act independently with no knowledge of the
superproject, and have the superproject glue it all together as a
convenience for the user if they don't want to manually build things
separately or if they don't have existing installs. That's what I am doing
with my projects.
Wow, this is powerful! Question; Will I be able to compile the sub-project
individually?
Because as I see this is what we will use in the root/CMakeLists.txt, but
what about the sub-dirs which I really want to be "independent" if the user
wants.
On Tue, Mar 8, 2016 at 5:13 PM, Nicholas Braden
wro
Example simple usages from my personal projects:
https://github.com/LB--/events/blob/499ba78b923b40f77cc832b6a5d414240209ac96/CMakeLists.txt
https://github.com/LB--/simple-platformer/blob/1bba3dd2d8ed1cdae74ce1b77c4ab99878fa59a6/CMakeLists.txt
More complex usage in hunter:
https://github.com/ruslo
Thank you for your suggestion Nicholas, I have never used
ExternalProject_Add before and can't find a related example to my project.
Would you know an example that uses it?
On Tue, Mar 8, 2016 at 10:38 AM, Nicholas Braden wrote:
> Have you looked into ExternalProject_Add? It allows just using a
Srinath,
You should better ask the list than me.
It would help if you describe precisely what you tried, and what result you
get.
Best regards,
Xavier
On Tue, Mar 8, 2016 at 4:31 PM, Srinath Vadlamani <
srinath.vadlam...@gmail.com> wrote:
> Hello Xavier,
> I have implemented all of what is i
On 3/8/2016 2:25 PM, David Doria wrote:
add_custom_target(MyProject_HDRS SOURCES MyHeader.h MyImplementation.hpp)
It sounds like David says you can do the same for your .cmake files.
This is pretty awkward though - it seems like there should be more of an
explicit function for this, something li
On Mon, Mar 7, 2016 at 9:19 PM, Eric Wing wrote:
> On 3/7/16, Eric Wing wrote:
> > On 3/7/16, David Cole wrote:
> >> If you include those files in the source list for a library, executable,
> >> or
> >> custom target, they should show up in IDE projects, and they should be
> >> ignored by Makef
I am proud to announce that CMake 3.5.0 is now available for download at:
https://cmake.org/download/
Documentation is available at:
https://cmake.org/cmake/help/v3.5
Release notes appear below and are also published at
https://cmake.org/cmake/help/v3.5/release/3.5.html
Some of the more si
Have you looked into ExternalProject_Add? It allows just using a local path
instead of downloading a remote repository:
https://cmake.org/cmake/help/latest/module/ExternalProject.html
On Tue, Mar 8, 2016 at 12:12 PM, Muhammad Osama wrote:
> Hi Jan,
>
> Thank you for your reply, I am in the simi
Hi Jan,
Thank you for your reply, I am in the similar situation, have a very
similar implementation using *target_*** *but since I don't do that for ALL
the dependencies, I am unable to cmake or compile individual projects in
the sub directories. So, few questions;
1. This still requires me to ru
I hate to state the obvious, but
set_property (TEST test2 PROPERTY LABELS LABEL1 LABEL2 LABEL1andLABEL2)
I know it isn’t what you asked for, but I don’t want cmake to change, but I
don’t think it is worthwhile to add more complex set algebra to the -L command
so that we can support complex things
IIRC, the project() command can be called once per directory. So you
can have each directory be a separate project via add_subdirectory().
I just tried it out and it seems to create a solution (*.sln) for each
project().
I can't answer the other questions, sorry.
On Tue, Mar 8, 2016 at 10:03 AM,
Dear users,
Since about a year I work on a project that uses CMake in combination with
Visual Studio. This works kind of oke, but over time some questions have
emerged. Hopefully I can get an answer on this list:
* Our build infrastructure creates a Release and a Debug configuration by
setting th
Jakob, I don't think there is any confusion about what REQUIRED means.
Whether or not REQUIRED is provided, the list of OPTIONAL_COMPONENTS
should not be required under any circumstances. The example error
message seems pretty clear to me that the expected behavior and actual
behavior are different
Hej Alexander,
Yes, you're missing a subtle detail. You assume that the 'REQUIRED' keyword
reflects the fact that COMPONENTS are required. This is not the case. The
REQUIRED keyword reflects that the entire package Qt4 is required, see
https://cmake.org/cmake/help/v3.0/command/find_package.html wh
Hej,
A short side-question - you mentioned you are compiling a DLL, yet you
mention also you are on OSX. I'd expect a .dylib on OSX?
Anywaysz, I think Andreas already answered your question quite clearly: you
probably misinterpret the output of nm, since your CMakeLists.txt file
looks exactly as i
Hi list,
I'm building applications for an bare-metal sytem. There
are no standard libraries.
In my toolchain-file I specify
set(CMAKE_SYSTEM_NAME "Generic")
and I'm telling gcc to not include std-libraries with -nostdlib .
In my toolchain-file I changed
CMAKE_EXE_LINKER_FLAGS
in order
Hi,
Is there someone able to help me regarding ctest usage with labels?
Here is the problem: I have various tests which have labels attached to them:
set_property (TEST test1 PROPERTY LABELS LABEL1)
set_property (TEST test2 PROPERTY LABELS LABEL1 LABEL2)
set_property (TEST test3 PROPERTY LABELS
Hi Muhammad,
> On 08.03.2016, at 06:17, Muhammad Osama wrote:
>
> Hi, I am new to cmake and really hope am doing this correctly. I asked
> stackoverflow but didn't get a good enough answer for my specific problem
> here;
>
> If I want root/sub-directories/ as separate sub-projects that can be
20 matches
Mail list logo