17 Commits

Author SHA1 Message Date
Frank Dana
005be5a4ac CMake: Add hex-version helper source (#89) 2020-02-29 00:13:18 -05:00
FeRD (Frank Dana)
153565ea4d Main.cpp: std prefixes, use juce::Thread::sleep() 2020-02-26 05:58:24 -05:00
FeRD (Frank Dana)
0f2c25141f Main.cpp: Remove unused variable 2019-07-30 12:52:49 -04:00
FeRD (Frank Dana)
6a2c5e66d6 Define version info in CMakeLists.txt
* Version information is now _defined_ at the top of the root
  `CMakeLists.txt` file, which is now the primary source of that
  data. Other instances of version information will consume the
  CMake-defined version information via the appropriate variables.

* `include/Version.h` is eliminated, as it was never used for
  any purpose other than to set the version information for CMake.

* Those GLOBAL PROPERTY entries for JUCE_WINDOWS, JUCE_LINUX, etc.
  Are removed. Those never had any effect, as CMake properties are
  not defined during the build. The Juce header files automatically
  determine the value of the JUCE_ defines.

* The source file globbing (which was always fragile) is replaced
  by a list of modules, from which filenames are generated.

* "-DDEBUG" is added to the CXX_FLAGS for debug builds, and
  CMAKE_BUILD_TYPE is set to "Debug" if not set by the user
  (A comment in the CMakeLists.txt explains in more detail)

* The CMakeLists files are also updated to...
  - Use GnuInstallDirs
  - Be less deeply nested, e.g.
    IF(WIN32)
    ELSEIF(UNIX)
      IF(APPLE)
      ELSE()
      ENDIF()
    ENDIF()

    is replaced by

    if(WIN32)
    endif()
    if(UNIX AND APPLE)
    endif()
    if(UNIX AND NOT APPLE)
    endif()

    as in practice, at most one of those will ever be true.
2019-06-19 09:04:41 -04:00
Jonathan Thomas
7eb42e5aad Output error during initialise() in openshot-audio-test-sound program 2019-04-03 23:06:09 -05:00
FeRD (Frank Dana)
de66645a42 C++11 for the test program, too 2019-03-29 11:15:12 -04:00
Jonathan Thomas
4243825248 Updating copyright dates 2016-03-22 00:03:18 -05:00
Jonathan Thomas
51083bc3dd Fixed a runtime issue with WASAPI not working without first a call to CoInitialize(0). Windows-only-issue. 2015-09-23 00:42:35 -05:00
Jonathan Thomas
f2f4396115 Fixed compile errors on JUCE related to WASAPI and MinGW64 re-defined macros. 2015-09-03 16:10:03 -05:00
Jonathan Thomas
2bab8ff88c Changed licensing to GPLv3, to be compatible with JUCE source code. 2014-07-15 13:24:12 -05:00
Jonathan Thomas
417648fb9e Updated licensing to be AGPLv3, which is compatible with JUCE. 2014-07-10 14:07:07 -05:00
Jonathan Thomas
153e46c68f Fixed build warnings on Mac OS X 2013-06-09 01:09:34 -05:00
Jonathan Thomas
5b07164469 Added an include for the "sleep" command. 2013-02-06 02:09:54 -06:00
Jonathan Thomas
d299b23ad8 Added doxygen support (mainly for JUCE code), and simplied the install scripts 2012-08-08 12:36:29 -05:00
Jonathan Thomas
0a31cf24cd Fixed build issues on Windwos 7, by disabling WASAPI and adding a sleep() macro and linking a few new Windows libraries. 2012-06-22 01:29:22 -05:00
Jonathan Thomas
2f578af299 Added a TestSound executable to the cMake build instructions, which plays a test sound, and fixed the linking to include ALSA (asound) 2012-06-17 23:14:24 -05:00
Jonathan Thomas
c0e605fafe initial files in the openshot audio library 2012-06-15 17:45:27 -05:00