Skip to content
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

CMake-based build system for rhash #71

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Feb 5, 2019

  1. start on an alternative build system. This is far from finished and I…

    … want to implement some tests with it. This is an idea to help get things started. Comments and testing on your system are appreciated.
    JPeterMugaas committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    1b05c65 View commit details
    Browse the repository at this point in the history
  2. This includes some major reworkings so I'll ty summerize

    1) Start adding tests for the .EXE and libraries.
    2) Add support for Doxygen.  This does not use the Doxyfile from original GIT RHash because We need to fill in values.  This should hopefully replace cpp-doc because I can't get the source-code for that and it's disssappeared.
    3) Add an application icon for building a NSIS installer with CMake.  This really should be in the RHash.exe in Windows but I want to get with you all about that.  The icon was stolen from a RHash website.
    4) Add the original .PNG from the website we could use it in the Doxygen documentation.
    5) Try to make the installer have options to support a minal lib as suggested.  I did by adding several other options since the CMakeLists.txt now supports quite a number of things.
    6) There's probably some things I omitted.  Goodness knows I've spent on this which is why it delayed for so long.  But I think it's worth it.
    JPeterMugaas committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    0ea1ca7 View commit details
    Browse the repository at this point in the history
  3. Add comment about BUILD_SHARED and BUILD_STATIC.

    Embed icon and version information to .EXE's and .DLL's.  This should work in Cygwin, MSYS, and MINGW if windres is available and supported by cmake.  Also make the installer point to the icon in the .EXE.  This should make things more intuitive in the Windows GUI as well as provide embedded copyright information in the .DLL and .EXE's.
    JPeterMugaas committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    07378a6 View commit details
    Browse the repository at this point in the history
  4. Two bug fixes.

    1)  Hopefully fixed  Linux issue with the intl libraries.  It turns out that linking to an additional library might not be required and Intl_LIBRARIES will be empty.
    2) Specified MSCGEN improperly.  It turns out that we need to specify tge dur wgere NSCGEB u=actyakkt us ub MSCGEN_PATH,
    JPeterMugaas committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    790a740 View commit details
    Browse the repository at this point in the history
  5. Add more tests from an older attempt to cmake-based build system. The…

    …se tests are roughly equivilant to the tests in the RHash/tests directory except that they are NOT based on bash.. The cmake source-code does pass these tests in Win32.
    JPeterMugaas committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    c0a3c21 View commit details
    Browse the repository at this point in the history
  6. Fixes for some tests to work on Linux. It turns out that rhash was ou…

    …tputting stuff to stderr even on sucesss. This was probably anticipated in the bash tests. This now works 100% on Archlinux.
    JPeterMugaas committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    cd70e17 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7486106 View commit details
    Browse the repository at this point in the history
  8. Fix menu items.

    Add more informative information about builds.
    Dump CMAKE_INSTALL_FULL_xxx vars that I needed for debugging.
    Handle USE_GETTEXT define for .EXE and add SYNCONF macro define.
    RHASH_USE_GETTEXT menu otpion now works as expected.  This enables/disables intl and Gettext support (they both go hand in hand)
    Fix RHASH_OPENSSL_RUNTIME menu option.
    RHASH_TESTS_OPT_FULL - new menu option for enabling a certain test (test_all_hash_options.cmake).  This corresponds to something I saw in the bash script.
    Only generate .rc files for SHARED_LIBS and BUILD_EXE options.
    Fix for dot, graphviz, and mscgen handling with Doxygen.
    JPeterMugaas committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    8b4ebae View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4d29e9a View commit details
    Browse the repository at this point in the history