All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

STORM-977 llmediaplugintest shows up even though -DLL_TESTS:BOOL=OFF has been used

Review Request #144 - Created Feb. 8, 2011 and submitted

Jonathan Yap Reviewers
2.6 viewer
STORM-977
None viewer-development
llmediaplugintest shows up to be compiled even though -DLL_TESTS:BOOL=OFF has been used on the command line.

This cmake file does not use the call to LL_ADD_PROJECT_UNIT_TESTS that other cmake files do.  

LL_ADD_PROJECT_UNIT_TESTS is usually wrapped with if(LL_TESTS)

I could not figure out which lines suppress the inclusion of copy_plugintest_libs and llmediaplugintest into the list of what is to be built so wrapped the entire file around if(LL_TESTS).  

If there is some better way to more exactly target these two items please point it out.

 
Review request changed
Updated (Feb. 16, 2011, 11:32 a.m.)
Updated code per Merov's request and Boroondas' suggestion.
Ship it!
Posted (Feb. 16, 2011, 12:07 p.m.)
Cleaner! :) I'm assuming you built on Windows and it doesn't create weird errors down the road.
  1. I have built it on windows, started the viewer up, walked/flew around a bit.