--
You received this message because you are subscribed to the Google Groups "vsg-users : VulkanSceneGraph Developer Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vsg-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vsg-users/CAFN7Y%2BXfxj8ZntkXwt9b1E%3Db-OS-e_fpmwX7qePMWL-L%2BxOxBw%40mail.gmail.com.
I've got an easy one for you. Spelling mistake for additionalDescrptorSetLayout.
Two of my "could do" for VSG-1.0 items are:Data::Layout -> Data::Properties
Make Data::Properites a public member
Am 27.10.22 um 14:56 schrieb Robert Osfield:
...
If you can help with any of these items please let me know on this thread.
MUST DO:
Code review of CMake build system
The vsgMacros.cmake file was duplicated from the vsg git project to all vsg dependent projects (I suspect this was related to the rebuild of the vsgFramework project some time ago).
My understanding is that vsg and the dependent projects in the vsg-dev namespace can be built either as individual projects one at a time, or in conjunction with vsgFramework as one big cmake project.
In the first case, vsgMacros.cmake is installed by vsg and is thus available to all dependent projects, so no copy is required.
In the second case the macros contained in vsgMacros.cmake are available in the whole cmake project, so that e.g. in vsgxchange no copy of this file has to be included (I commented out the corresponding call in the top level CMakeLists.txt of the vsgxchange
project to check this).
Or are there other use cases that would require a copy of this file ?
Ralf
Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.
SPIE Deutschland & Zentraleuropa
www.spie.de
SPIE SAG GmbH
Sitz der Gesellschaft: Ratingen
Geschäftsanschrift: Balcke-Dürr-Allee 7 40882 Ratingen, DE
Eingetragen beim Amtsgericht Düsseldorf, HRB 82030
Geschäftsführung: Markus Holzke, Peter Pfannenstiel, Burkhard Sager
Aufsichtsratsvorsitzender: Gauthier Louette
USt-IdNr.: DE258150700
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich dann rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift des Geschäftsführers oder zweier Gesamtvertretungsberechtigter) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen. Die Datenschutzinformationen nach Art. 13 DSGVO erhalten Sie in unseren B2B-Datenschutzhinweisen .
Please consider the environment before printing this email.
SPIE Deutschland & Zentraleuropa
www.spie.de
SPIE SAG GmbH
Company seat: Ratingen
Business address: Balcke-Dürr-Allee 7 40882 Ratingen, DE
Registered at Amtsgericht Düsseldorf, HRB 82030
Managing Director: Markus Holzke, Peter Pfannenstiel, Burkhard Sager
Chairman of the Supervisory Board: Gauthier Louette
VAT-ID: DE258150700
Notwithstanding the correspondence via e-mail our statements are only legally binding if they are made in writing and are either signed by the Managing Director or duly signed by two authorized representatives or if such document is submitted by facsimile.
Please find our data protection information pursuant to art. 13 GDPR in our
B2B Privacy Notice .
The vsgMacros.cmake file was duplicated from the vsg git project to all vsg dependent projects (I suspect this was related to the rebuild of the vsgFramework project some time ago).
My understanding is that vsg and the dependent projects in the vsg-dev namespace can be built either as individual projects one at a time, or in conjunction with vsgFramework as one big cmake project.
In the first case, vsgMacros.cmake is installed by vsg and is thus available to all dependent projects, so no copy is required.
In the second case the macros contained in vsgMacros.cmake are available in the whole cmake project, so that e.g. in vsgxchange no copy of this file has to be included (I commented out the corresponding call in the top level CMakeLists.txt of the vsgxchange project to check this).
Or are there other use cases that would require a copy of this file ?
My current thought is to rename it to vsg::GraphicsPipelineConfigurator, and add a using GraphicsPiplineConfig = GraphicsPipelineConfigurator to allow existing app to continue compiling.
Hi Ralf,
On Wed, 2 Nov 2022 at 15:49, Ralf Habacker <ralf.h...@spie.com> wrote:
The vsgMacros.cmake file was duplicated from the vsg git project to all vsg dependent projects (I suspect this was related to the rebuild of the vsgFramework project some time ago).
Yes, I had to duplicate rather than reuse one installed by VSG to avoid issues caused when using the VSG alongside other VSG related projects with submodule or FetchContent as used in vsgFramework.
My understanding is that vsg and the dependent projects in the vsg-dev namespace can be built either as individual projects one at a time, or in conjunction with vsgFramework as one big cmake project.
Yes that is now correct, at least since we addressed the issues that prevented use as a submodule/FetchContent.
In the first case, vsgMacros.cmake is installed by vsg and is thus available to all dependent projects, so no copy is required.
I don't think vsgMacros.cmake should ever be installed now. If your project needs it, it will need keep a local copy.
If it's still being installed we should remove this.
In the second case the macros contained in vsgMacros.cmake are available in the whole cmake project, so that e.g. in vsgxchange no copy of this file has to be included (I commented out the corresponding call in the top level CMakeLists.txt of the vsgxchange project to check this).
I am not clear on what you mean here, is a modification of vsgXchange that is required?
Could you share you suggested change?
I have prepared associated branches with fixes for each vsg related repo
https://github.com/rhabacker/VulkanSceneGraph/tree/vsgmacros-fixes
https://github.com/rhabacker/vsgExamples/tree/vsgmacros-fixes
https://github.com/rhabacker/vsgImGui/tree/vsgmacros-fixes
https://github.com/rhabacker/vsgQt/tree/vsgmacros-fixes
https://github.com/rhabacker/vsgXchange/tree/vsgmacros-fixes
which I used to build with vsgFramework without any problem.
I can create pr's from them
Or are there other use cases that would require a copy of this file ?
Since my decisions to move vsgMacros.cmake directly into the various projects rather than relying upon one installed by the VSG I don't think there should ever be any install related copying of vsgMarcos.cmake.
Installing and need to locate vsgMacros.cmake was one of the problems that tripped up submodule/FetchContent usage so avoiding this addressed this incompatibility.
In the single project case described above, this was probably caused by vsgMacros.cmake not being included by default in vsgConfig.cmake.in as is often used in other projects, see a similar example at
https://invent.kde.org/frameworks/kdoctools/-/blob/master/KF5DocToolsConfig.cmake.in#L33.
Applying the following patch to vsg fixes path related problems, since inside vsgConfig.cmake CMAKE_CURRENT_LIST_DIR is on the vsgConfig.cmake directory. Since vsgConfig.cmake is included with the call to find_package(vsg), vsgConfig.cmake is also automatically
included and no longer needs to be used in the dependent projects.
diff --git a/src/vsg/vsgConfig.cmake.in b/src/vsg/vsgConfig.cmake.in
index c62a7a2e..9d461c99 100644
--- a/src/vsg/vsgConfig.cmake.in
+++ b/src/vsg/vsgConfig.cmake.in
@@ -18,3 +18,4 @@ else()
endif()
include("${CMAKE_CURRENT_LIST_DIR}/vsgTargets.cmake")
+include("${CMAKE_CURRENT_LIST_DIR}/vsgMacros.cmake")
Cheers
> Could you generate PR's against the respective projects I can then
> test and make a decision.
done.
I'm not quite sure if porting the associated commit back to the
appropriate stable branch with `git cherry-pick -x ....` is the desired way.