1. 10 Oct, 2017 1 commit
  2. 04 Oct, 2017 2 commits
    • Johann's avatar
      cmake flag for disabling adopted experiments · 4ceee161
      Johann authored
      Match configure behavior. Use with:
      -DENABLE_ADOPTED_EXPERIMENTS=OFF
      
      Change-Id: I5402d5b0ca65cf3013744ca28023118b7508fd2a
      4ceee161
    • Tom Finegan's avatar
      Sync CMake treatment of aom{dec,enc} with configure. · 9cc0cfed
      Tom Finegan authored
      Disable creation of the aomdec and aomenc targets
      when examples are disabled. This requires some changes
      to how/when utility libs are built. The common, decoder,
      and encoder app utils are now only built when one of
      CONFIG_UNIT_TESTS, ENABLE_EXAMPLES, or ENABLE_TOOLS is
      enabled.
      
      BUG=aomedia:847
      
      Change-Id: I579252e01eab1c66cd2d808863504f9571bfb3e4
      9cc0cfed
  3. 02 Oct, 2017 1 commit
    • Tom Finegan's avatar
      Add libm in CMake when needed. · 3e8986b1
      Tom Finegan authored
      Directly adding libm to the libaom target when building
      non-MSVC and non-APPLE targets.
      
      BUG=aomedia:831
      
      Change-Id: Ia1f9cf6b79c4b4d15297969ff9ef4b9831113f4f
      3e8986b1
  4. 30 Sep, 2017 2 commits
    • Tom Finegan's avatar
      Support disabling examples in CMake build. · 9befd171
      Tom Finegan authored
      Do the same for tools.
      
      BUG=aomedia:828
      
      Change-Id: I284dd44ae57c461012ae2b034a23a3cad9361af0
      9befd171
    • Tom Finegan's avatar
      Add aom_entropy_optimizer to CMake build. · e91bb45b
      Tom Finegan authored
      This is the first tool in the CMake build, so some extra
      noise is involved:
      
      - Setup tools list vars and handling.
      - Add tools support to the dist rule.
      - Move usage_exit.c generation to CMakelists.txt to allow
        use by the aom_entropy_optimizer target.
      
      BUG=aomedia:834
      
      Change-Id: I55239e89353033349ac1038b8d3d1aa8a8f23e27
      e91bb45b
  5. 28 Sep, 2017 1 commit
    • Tom Finegan's avatar
      Fix aom.pc generation. · 40b2a979
      Tom Finegan authored
      $GIT_EXECUTABLE was being passed as the
      value of CMAKE_INSTALL_PREFIX to pkg_config.cmake. Pass
      $CMAKE_INSTALL_PREFIX as intended.
      
      BUG=aomedia:814
      
      Change-Id: I86126f472447eaa6a2196dca3a8c68fb4de9415a
      40b2a979
  6. 20 Sep, 2017 1 commit
  7. 06 Sep, 2017 1 commit
    • Tom Finegan's avatar
      Explicitly support user supplied flags in the CMake build. · c8593981
      Tom Finegan authored
      Add AOM_EXTRA_<TYPE>_FLAGS variables. Currently AS, C, CXX, and
      LINKER are the available type values. These variables are added
      to argument strings for each type as the last step in generation
      to ensure that user flags have precedence over flags added by
      the AOM build itself.
      
      Change-Id: I8e01682ee6c7dad2253e01c446a5ced7d06596c7
      c8593981
  8. 01 Sep, 2017 2 commits
  9. 30 Aug, 2017 1 commit
  10. 11 Aug, 2017 1 commit
  11. 08 Aug, 2017 1 commit
  12. 15 Jul, 2017 1 commit
  13. 10 Jul, 2017 1 commit
    • Tom Finegan's avatar
      Improve support for AOMAnalyzer in the CMake build. · 84d35995
      Tom Finegan authored
      - Add utility function for appending link flags to targets.
      - Use it to set linker only opts for emscripten inspect target.
      - Update README.md with emscripten instructions.
      - Build everything with -O3 when no build type is specified.
      
      Change-Id: I69a2083369d2880335a8162132f190377a4a85fb
      84d35995
  14. 07 Jul, 2017 1 commit
  15. 30 Jun, 2017 1 commit
  16. 20 Jun, 2017 1 commit
    • Tom Finegan's avatar
      Add shared library support to the CMake build. · 84f2d796
      Tom Finegan authored
      This is enabled via:
      $ cmake path/to/aom -DBUILD_SHARED_LIBS=1
      
      Currently supports only Linux and MacOS targets. Symbol visibility
      is handled by exports.cmake and its helpers exports_sources.cmake
      and generate_exports.cmake.
      
      Some sweeping changes were required to properly support shared libs
      and control symbol visibility:
      
      - Object libraries are always linked privately into static
        libraries.
      - Static libraries are always linked privately into eachother
        in the many cases where the CMake build merges multiple library
        targets.
      - aom_dsp.cmake now links all its targets into the aom_dsp static
        library target, and privately links aom_dsp into the aom target.
      - av1.cmake now links all its targets into the aom_av1 static library
        target, and privately links in aom_dsp and aom_scale as well. It
        then privately links aom_av1 into the aom target.
      - The aom_mem, aom_ports, aom_scale, and aom_util targets are now
        static libs that are privately linked into the aom target.
      - In CMakeLists.txt libyuv and libwebm are now privately linked into
        app targets.
      - The ASM and intrinsic library functions in aom_optimization.cmake
        now both require a dependent target argument. This facilitates the
        changes noted above regarding new privately linked static library
        targets for ASM and intrinsics sources.
      
      BUG=aomedia:76,aomedia:556
      
      Change-Id: I4892059880c5de0f479da2e9c21d8ba2fa7390c3
      84f2d796
  17. 05 Jun, 2017 1 commit
    • Tom Finegan's avatar
      CMake test target tweaks. · 375ee849
      Tom Finegan authored
      Exclude the test targets from Visual Studio and Xcode generation
      runs unless explicitly requested. The test run takes hours, and
      default behavior in the IDEs is to build all targets.
      
      BUG=aomedia:76
      
      Change-Id: I37e9904bd8d373a399d7d5fa49fe02771011f9d2
      375ee849
  18. 02 Jun, 2017 3 commits
  19. 23 May, 2017 1 commit
  20. 22 May, 2017 1 commit
  21. 15 May, 2017 1 commit
  22. 10 May, 2017 1 commit
    • Tom Finegan's avatar
      Add Emscripten support to the CMake build. · d46b4d30
      Tom Finegan authored
      Supporting Emscripten requires modification of all uses of the
      target_link_libraries() function to match the form
      of the target_link_libraries() call in Emscripten.cmake.
      
      The AOM_LIB_LINK_TYPE variable has been added to allow for
      flexibility on the libaom side when using toolchains that
      behave similarly to Emscripten.cmake wrt
      target_link_libaries().
      
      To use CMake for an Emscripten build, first install Emscripten, then:
      $ cmake path/to/aom -DCMAKE_TOOLCHAIN_FILE=path/to/Emscripten.cmake -DAOM_TARGET_CPU=generic
      
      BUG=aomedia:76,aomedia:468
      
      Change-Id: I22c7df7912ecfdbc2a52180086b205cc8dcfc0c6
      d46b4d30
  23. 09 May, 2017 1 commit
  24. 28 Apr, 2017 1 commit
  25. 21 Apr, 2017 1 commit
  26. 05 Apr, 2017 1 commit
  27. 10 Mar, 2017 1 commit
  28. 09 Mar, 2017 1 commit
  29. 07 Mar, 2017 1 commit
  30. 06 Mar, 2017 1 commit
  31. 03 Mar, 2017 5 commits