<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=HU link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Michael,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>first of all, let me congratulate you on the integration. Great stuff and much apreciated.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I gave your add-in a spin, however it fails to find my unit tests. I set the output directory globally in the top-level CMakeLists.txt file as</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${Build_Root}/bin/${Configuration_Name})</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>inside my unit-tests’ file I have entries such as</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal># Adding library target for build</p><p class=MsoNormal>add_executable (STL-Test1-RK4 ${STL_Test1_RK4_BUILD})</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>…</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal># Add CTest entry</p><p class=MsoNormal>add_test( ${PROJECT_NAME} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/STL-Test1-RK4 )</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have configured my build to use VS2015 Win64 platform. Because the default is to look for x86 targets, I changed the default test platform to be x64 within VS, but it still won’t find my tests. Could you give some directions what might I be doing wrong?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers,</p><p class=MsoNormal>Máté</p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;border:none;padding:0cm'><br><b>Feladó: </b><a href="mailto:michael.stuermer@schaeffler.com">Stuermer, Michael SP/HZA-ZSEP</a><br><b>Elküldve: </b>2016. január 22., péntek 12:37<br><b>Címzett: </b><a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br><b>Tárgy: </b>[CMake] CTest integration in Visual Studio TestExplorer</p></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal>Hello everyone,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>picking up the line from Tobias from around a year ago I changed a few things in the ctest unittest adapter. It now works for both Visual Studio 2013 and 2015. 2012 is supported in general but I didn't try it (means: I can install it). Merging and pull request for original version will follow (as soon as there is time), but I would be really happy if some developers from the community could comment on the current state and give some feedback.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I tested it so far with the CMake build and tests and discovering and executing the whole lot of 400+ tests runs well so far. Let me know what could/should be improved.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>You can download the latest version of the extension here:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>https://github.com/micst/CTestTestAdapter/blob/micst/CTestTestAdapter.vsix</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Check the sources on github here:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>https://github.com/micst/CTestTestAdapter</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>best regards,</p><p class=MsoNormal>Michael</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>-----Original Message-----</p><p class=MsoNormal>From: Tobias Becker [mailto:becker.tobi@gmail.com] </p><p class=MsoNormal>Sent: Saturday, November 22, 2014 11:35 PM</p><p class=MsoNormal>Subject: [CMake] CTest integration in Visual Studio TestExplorer</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So I tried my luck with creating an extension for Visual Studio that allows you to use the Test Explorer to discover and run your CTests.  You can download it in the visual studio gallery. Read about it on http://thetoeb.de/2014/11/22/ctest-integration-visualstudio/ .</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I'd be happy if anyone wanted to give me feedback or contribute on https://github.com/toeb/CTestTestAdapter ;)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sorry for the shameless plug (but hey - its free)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kind Regards,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Tobias</p><p class=MsoNormal>-------------- next part --------------</p><p class=MsoNormal>An HTML attachment was scrubbed...</p><p class=MsoNormal>URL: <http://public.kitware.com/pipermail/cmake/attachments/20141122/0a27b2b7/attachment.html></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>-- </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Powered by www.kitware.com</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kitware offers various services to support the CMake community. For more information on each offering, please visit:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>CMake Support: http://cmake.org/cmake/help/support.html</p><p class=MsoNormal>CMake Consulting: http://cmake.org/cmake/help/consulting.html</p><p class=MsoNormal>CMake Training Courses: http://cmake.org/cmake/help/training.html</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Follow this link to subscribe/unsubscribe:</p><p class=MsoNormal>http://public.kitware.com/mailman/listinfo/cmake</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>