12/25/2023 0 Comments Sse2 windows cmake![]() ![]() Right I have set up a googlecode svn repository if anyone is interested. I then guess that the integration with Qt, pre/post-install scripts and all that stuff is something pretty well handled by CMake, but it's so far just an assumption. I can just say that CMake is the build system for KDE4. I'm still a beginner with CMake, so it's difficult for me to answer your question precisely. I will investigate this further as soon as I have time. CMake + Ctest + CPack can be seen as a complete toolsuite from your source code to the user desktop. deb/.rpm/OSX bundles/NSIS based Windows installers etc.). One important point is also the integration with CTest and CPack (packaging solution that can generate. It's a very understandable scripting language (it reminds me my first experiences with BASIC, a long time ago). Unlike SCons, CMake doesn't require you learn a new programming language (SCons can actually be considered as a python package). Coming from you, I feel honored!Īs you did, I also looked around for a bulld system able to automate the compilation stages. Having a source code version control tool would be a very good thing( maybe in 2010? in the meantime, feel free to attach patches to your replies. This file is distributed under the terms of the OCCT Public License 6.3. I tried to comment the code as clearly as possible, and inserted #TODO tags. ![]() This script can be considered as an outline, but I hope you'll however be interested in this work and can contribute in any way to improve it. This attempt is a very first draft, and the result of only 4 hours of work, so don't expect to be able to compile the whole solution (only TKBRep and TKernel toolkits can be built, still linkage errors). The file attached is a 'monolithic' script. Note that projects using CMake usually split this script in many different files located all over the source code. Detailed instructions about the 'HowTo' are in the file header. CMake parses this file, and generates project files according to the Generator you choose (for instance VS2005 under win32, Unix Makefiles under Unix). Here is attached a text file named CMakeLists.txt. I then started to work on a CMake based installer (I know there are other build tools, but I had to choose one, and already had bad experience with SCons). Indeed, we all here expect a multiplatform build system that would automate everything we do manually. A lot of people here already complained about the automake builder/installer currently used by OCC (Unices) Roman Lygin reported ( ) a few issues with Windows/MSVC as well. I contributed a CMake builder to Fotis' salomegeometry project, which works quite well. For about a couple of weeks (well, almost), I've been trying to move the pythonOCC build system from distutils to CMake, in order to have a real multiplatform builder and save many *many* hours of work. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |