losely match what you are wanting to do.
>
> On Tue, Mar 8, 2016 at 7:02 PM, Muhammad Osama <osam...@gmail.com> wrote:
>
>> Thank you for your suggestion Nicholas, I have never used
>> ExternalProject_Add before and can't find a related example to my project.
>&g
ou 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 <osam...@gmail.com> wrote:
>
>> Hi Jan,
>>
>
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.
>
> On Tue, Mar 8, 2016 at 7:17 PM, Muhammad Osama <osam...@gmail.com> wrote:
>
>> Wow,
.
--
Muhammad Osama
--
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 on each offering, please visit:
CMake Support: http://cmake.org
wrote:
> Hi Muhammad,
>
> > On 08.03.2016, at 06:17, Muhammad Osama <osam...@gmail.com> 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
> he
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
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
&
t_test(RETURN_VALUE test_failed)
>
> endif(($ENV{DO_TEST}) AND NOT (configure_failed OR build_failed))
>
>
>
> if($ENV{DO_DASHBOARD})
>
> ctest_submit()
>
> endif($ENV{DO_DASHBOARD})
>
>
>
> if (configure_failed OR build_failed OR test_failed)
>
> message(FATAL_ERROR &qu
Hi,
Is there a way I can replace ctest command with ctest --some-flag in
CMakeLists.txt? So, when my users run cmake, make and ctest. They are
actually performing cmake, make and ctest --some-flag? I don't want them to
worry about the flag and just type ctest.
Thank you,
--
*Muhammad Osama