![]() ![]() A little boolean that says "I already got dependencies installed. Issuing a "fetch" later should check if there is updates and if so fire off a new build on all dependencies. Issue a "fetch" command a "make" command and go grab quite a bit of coffee, come back and have a complete "sdk" installed. The end goal is to install the scripts in a directory. I will get going with yet another part, which is to either use SVN or some ftp fetching of the sources.Īnd thats why, I would like to be able to override the dependencies in the CMake, if they are already installed to the system. When I get them all to build properly against eachother. There are 40 or so libraries in the whole collection by now, all depending on eachother etc. I want you to use my FreeImage, with my settings!" Just as I tell CEGui, "Hey! I want you to use my version of Ogre when you compile OgreRenderer. When I call Ogres CMake from my script, I want to tell it "Hey! I have my own custombuilt dependencies, please use them instead of the original ones. ![]() Thats what I want to do with Ogre aswell. Basically, I pass all defines and such from my script to the libraries make systems. Now, when I use my scripts, all libraries with their dependencies are built with the same settings, my own defines, my own everything. There are for example some libraries that have default settings of /MTd or /MDd which makes them render some silly errors or warnings later on when I use them. I want it to build the libraries with my settings. Let me repeat that: Build the dependency with -DCMAKEINSTALLPREFIX (CMake) or -prefix (Autoconf, Meson) to specify where it should be installed. However, you didnt mention any when did project configuration (and it may project-dependent to set some defaults). The output of CPack tries to install the Release configuration. When I go into that directory and issue my make commands. Check what exact configuration you have built. It inlcudes all kinds of libraries and tools that are multiplatform with all bells and whistles. There is plenty of stuff in it, some that might be used for some projects and some that wont. Ogre is not the main part of the "sdk", it is one part of it. I think you misunderstand what I mean though. But for example, zlib which I have in other projects, I dont want one copy in the Ogre tree, one in libpng tree etc. But I would rather not have copies of the same files on different locations etc. ![]() And yes, I know I could copy files around etc. I hope I have made my question clear enough. But my hopes is that I can enter all the paths manually in CMake. Obviously, CMake does not recognise $(SDK_HOME) for filesystem searches. So basically, what I would want is for CMake to skip checking if the dependencies are installed and to be able to enter $(SDK_HOME) as the root of all the dependencies. This in turn lets me use $(SDK_HOME) as macro for the SDK's in Visual Studio. My problem is as follows, I got one environmental variable %SDK_HOME% which I set to "F:/SDK" in this case. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |