View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001190CMakepublic2004-09-22 03:092005-02-25 08:49
ReporterMarco Spatz 
Assigned ToKen Martin 
PriorityhighSeveritymajorReproducibilityunable to reproduce
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001190: VC 7.1 project file format changes
DescriptionUsing cmake for generating vc 7.1 projects.
Postbuild-actions aren't processed correctly, because vc 7.1 doesn't allow the postbuild-commands to be newline-seperated. We are using the following code

FOREACH (file
            cg.dll
            OgreMain.dll
            OgreMain_d.dll
            devil.dll
            ilu.dll
            ilut.dll
            OgrePlatform.dll
            Plugin_BSPSceneManager.dll
            Plugin_CgProgramManager.dll
            Plugin_FileSystem.dll
            Plugin_GuiElements.dll
            Plugin_NatureSceneManager.dll
            Plugin_OctreeSceneManager.dll
            Plugin_ParticleFX.dll
            ReferenceAppLayer.dll
            RenderSystem_Direct3D7.dll
            RenderSystem_Direct3D9.dll
            RenderSystem_GL.dll
            )

           ADD_CUSTOM_COMMAND(TARGET libIDOOgreRenderer POST_BUILD
               COMMAND ${CMAKE_COMMAND} ARGS -E copy ${PROJECT_SOURCE_DIR}/extern/ogre/lib/win32/${CMAKE_CFG_INTDIR}/${file}
               ${PROJECT_SOURCE_DIR}/bin/win32/${CMAKE_CFG_INTDIR})
   ENDFOREACH (file)

It generates a new line for each dll, and only the last one is copied. If the commands are put in one line (have done that manually), it works fine
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0001629)
Ken Martin (developer)
2004-10-21 13:22

When you put them on one line, are you seperating them with ; ?
(0002115)
Ken Martin (developer)
2005-02-25 08:49

I have tested this with CVS CMake and newlines seem to work fine on 7.1.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team