-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New way to generate the include/exiv2/exv_conf.h file #21
Conversation
…d usages of INCLUDE_DIRECTORIES and LINK_DIRECTORIES
This is excellent work. Thank You very much. I've tested this on Mac/Linux/Cygwin/MSVC2005 Significant comments:
Cosmetic Comments:
And after you've submitted: I made a change in July to src/CMakeLists.txt for issue #11 which I believe has been lost. The change was Changes = 1c721b1 After I have merged your next pull request, I'll manually (or cherry-pick) the changes which make up 1c721b1. I'll update #11 to mention this. I've very pleased indeed by this work. Thank you very much for contributing. I've added you as a contributor and I believe that will give you write privileges to Exiv2/exiv2.git. |
There's another feature I forgot to request. Can you add the define -DEXV_BUILD_CMAKE for the compiler (or put it into exv_conf.h if you prefer). I'll add code in version.cpp so that the command |
…e getting lot of warnings when compiling with MSVC
Hi @clanmills, thanks for your kind words. I have several comments:
I have been checking what happened with the changes you mentioned related with the issue #11 . Probably those changes were erased when you rewrote the master history few days ago. Let me know if I have missed something. |
I am wondering if the changes that I did in the file Actually I do not know if in this project it is considered the usage of autotools on Windows. |
Thanks very much. I'm happy if you want defer the cosmetic matters. I've merger your pull request and will test it. Assuming it passes (which I expect of course), I'll update 'master' for #11, remove my personal copyright claims and retest. When I've dealt with autotools/C++11/ADOBE_XMPSDK, I hope you'll make the CMake changes to support those features. That will be a good time to look at the cosmetic and file name matters. We must retain exv_msvc.h because that file has to be manually edited to fine tune Visual Studio builds (msvc = Microsoft Visual C++). It is read from include/exiv2/config.h autotools and CMake can be used on Windows to build on Cygwin. autotools are not used with Visual Studio. CMake can be used with Visual Studio. I tested CMake/Visual Studio and discovered the Significant Comment concerning local_time.c and getopt_win32.c. The architecture involving exv_conf.h (and exv_msvc.h) is a mess. Let's have an off-line discussion about this. |
I've tested this, and integrated the "lost overboard" changes from July and retested. Everything seems fine to me. I made a change to config/config.h.cmake because basicio.cpp didn't compile. However on retesting, I don't think that's needed. My suspicion is the cmake/regenerator didn't run when I did a make on Cygwin (probably confused by CMakeCache). You can throw away my code as EXV_HAVE_UNISTD is being set correctly on Cygwin. I'm off gardening at my son's tomorrow (it's going to be sunny). I'll do email/slack from my iPod. Back at the computer tomorrow evening when I'll deal with the outstanding pull request and two patches on Redmine. |
Hi,
I have been checking the way in which the
exv_conf.h
file was generated. There ware several things that I did in this branch:Probably there are few other minor things here and there. Do not hesitate to ask if you have questions about the changes.
For the moment I only tried to compile the project on Linux. This should be tested on Mac and Windows before being merged.