From: Reinhard K. <su...@gm...> - 2017-05-20 21:34:28
|
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> <div>Hello,</div> <div> </div> <div>I added a path to the build (binary) folder src.</div> <div>This fixes the issue with build in a separate folder.</div> <div> </div> <div>I did not see it as I still had this file in my trunk/src folder.</div> <div> <div> </div> <div>Kind Regards,</div> <div> </div> <div>Reinhard</div> <div> </div> <div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"> <div style="margin:0 0 10px 0;"><b>Gesendet:</b> Freitag, 19. Mai 2017 um 22:13 Uhr<br/> <b>Von:</b> "Reinhard Katzmann" <su...@gm...><br/> <b>An:</b> can...@li...<br/> <b>Betreff:</b> Re: [Canorus-devel] Build System Update</div> <div name="quoted-content"> <div style="font-family: Verdana;font-size: 12.0px;"> <div> <div>Hello,</div> <div> </div> <div>There is one issue that I found no solution. Also googling did so far not reveal anything to</div> <div>avoid this issue. There are some duplicate ts files generated that originally did not exist.</div> <div> </div> <div>I can delete this files afterwards using the patch shown below.</div> <div> </div> <div>However I search for some way to avoid the creation in the beginning.</div> <div>Adding the option "-noobsolete" as OPTIONS parameter did not change anything for me.</div> <div> </div> <div>Any help is greately appreciated.</div> <div> </div> <div>Index: CMakeLists.txt<br/> ===================================================================<br/> --- CMakeLists.txt (Revision 1473)<br/> +++ CMakeLists.txt (Arbeitskopie)<br/> @@ -705,6 +705,10 @@<br/> # Translation #<br/> ###############<br/> qt5_create_translation(CANORUS_QM_FILES ${Canorus_UIC_Srcs} ${Canorus_Srcs} ${Canorus_Translation_Srcs} lang/template.ts)<br/> +# Workaround for issue of duplicate ts files getting generated<br/> +# Please write on the Canorus Dev List for a better<br/> +SET(TSFOLDER ${CMAKE_SOURCE_DIR}/src/lang)<br/> +FILE(REMOVE ${TSFOLDER}/*_*.ts)<br/> qt5_add_translation(CANORUS_QM_FILES ${Canorus_Translation_Srcs} )<br/> ADD_CUSTOM_TARGET(canorus_qm DEPENDS ${CANORUS_QM_FILES})<br/> ADD_DEPENDENCIES(canorus canorus_qm)</div> <div> <div> </div> <div>Kind Regards,</div> <div> </div> <div>Reinhard</div> <div> </div> <div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);"> <div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Freitag, 19. Mai 2017 um 19:54 Uhr<br/> <b>Von:</b> "Reinhard Katzmann" <su...@gm...><br/> <b>An:</b> can...@li...<br/> <b>Betreff:</b> [Canorus-devel] Build System Update</div> <div> <div style="font-family: Verdana;font-size: 12.0px;"> <div style="font-family: Verdana;font-size: 12.0px;"> <div>Hello everybody,</div> <div> </div> <div>Live from LAC I took the liberty to update the Build system of Canorus a bit.</div> <div> </div> <div>Mainly I decided to derive away from the local build inside the source directory.</div> <div> </div> <div>I've described in the README what you need to do if you still prefer this approach.</div> <div> </div> <div>Testing Canorus no longer requires a complete installation, however you need to</div> <div>be in the resources folder for testing. There is probably a more sophisticated</div> <div>method to this that I'm not aware of at the moment.</div> <div> </div> <div>You can also use Qt Creator for testing. It is actually more easy this way as</div> <div>you don't need to set the library path inside of it.</div> <div> </div> <div>Kind Regards,</div> <div> </div> <div>Reinhard</div> </div> </div> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot_______________________________________________" target="_blank">http://sdm.link/slashdot_______________________________________________</a> Canorus-devel mailing list Can...@li... <a href="https://lists.sourceforge.net/lists/listinfo/canorus-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/canorus-devel</a></div> </div> </div> </div> </div> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot_______________________________________________" target="_blank">http://sdm.link/slashdot_______________________________________________</a> Canorus-devel mailing list Can...@li... <a href="https://lists.sourceforge.net/lists/listinfo/canorus-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/canorus-devel</a></div> </div> </div> </div></div></body></html> |