aboutsummaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2022-06-02[cmake] Remove default DEBUG_POSTFIX for ArchSetupfuzzard
remove arch based DEBUG_POSTFIX. turns out we are better to have the individual lib builds to define a postfix when appropriate.
2022-06-02[cmake] minor order change to find module debug postfix setfuzzard
2022-06-02[cmake] BUILD_DEP_TARGET set BYPRODUCT for cmake based buildsfuzzard
Required to make ninja play nice when using ENABLE_INTERNAL_<LIB>
2022-06-01[cmake] FFMPEG set FFMPEG_LIB_TYPE for ENABLE_INTERNAL_FFMPEG buildfuzzard
2022-06-01[cmake] tidy up TagLib::TagLib targetfuzzard
2022-06-01[cmake] introduce Spdlog::Spdlog targetfuzzard
Allow ENABLE_INTERNAL_SPDLOG to set a build target spdlog and add it as a dependency to the imported target. The imported target is then just a blanket dep include to cover either system or internal lib
2022-06-01[cmake] Fmt use Fmt::Fmt target for dependsfuzzard
Implement Fmt::Fmt target to allow adding dependency target for ENABLE_INTERNAL_FMT.
2022-06-01[cmake] Crossguid use CrossGUID::CrossGUID target for dependsfuzzard
Implement CrossGUID::CrossGUID target to allow adding dependency target for ENABLE_INTERNAL_CROSSGUID.
2022-05-29Merge pull request #21182 from garbear/smarthome-featuresGarrett Brown
Supporting features for Smart Home
2022-05-25[cmake] ENABLE_INTERNAL_TAGLIB to build taglib internallyfuzzard
2022-05-25Merge pull request #21436 from fuzzard/cmake_findpatchfuzzard
[cmake] Flesh out FindPatch module for windows use
2022-05-25Merge pull request #21454 from fuzzard/cmake_buildtypefixfuzzard
[cmake] fixup buildtype after #21043
2022-05-25[cmake] add debugfission support for mold >= 1.2.0howie-f
2022-05-25[cmake] fixup buildtype after #21043fuzzard
set default postfix for all android libs (similar to apple) if <MODULE>_RELEASE_TYPE is forced, remove the alternative <MODULE>_LIBRARY_<TYPE> build can now handle crossguid -dbg postfix, so allow it.
2022-05-24[cmake] Flesh out FindPatch module for windows usefuzzard
Windows we want to preference git patch, so adapt find module to check specifically for it. Update other find modules importing FindPatch.cmake to actual find_package calls
2022-05-24Merge pull request #21043 from fuzzard/cmake_spdlogtypefuzzard
[cmake] provide internal depends builds with build_type
2022-05-23Merge pull request #21320 from enen92/skintimersMiguel Borges de Freitas
[skinning] Skin timer implementation
2022-05-23[cmake] BUILD_DEP_TARGET Provide buildtype for cmake buildfuzzard
Provides build_type to internal build targets that use cmake. Allows a target to override (set <MODULE>_BUILD_TYPE) or to use the projects build type
2022-05-22game.controller.mouse: Import v1.0.16Garrett Brown
2022-05-22game.controller.keyboard: Import v1.1.17Garrett Brown
2022-05-22Merge pull request #21332 from fuzzard/cmake_prefixfuzzard
[cmake] Assorted cmake fixes regarding Find Modules
2022-05-21[skinning] Skin timer implementationenen92
2022-05-21Merge pull request #18994 from strugee/fix-cmake-quotesWolfgang Schupp
[build] fix CMake-related build quoting issue
2022-05-14Merge pull request #21377 from thexai/fix-cmake-patchthexai
[Windows] fix cmake find patch executable (prioritize use Git patch.exe)
2022-05-14[Windows] fix cmake find patch executable (prioritize use Git patch.exe)thexai
2022-05-12[build] fix CMake-related build quoting issueAJ Jordan
CMake on my Debian 10 machine was quoting the PATH environment variable being set here, which made the shell interpret that not as a variable being set but as a command, which it then would print a confusing error message about not being able to find. We work around this by using CMake's built-in environment modification utility.
2022-05-12[macOS][iOS] Add speech recognition service implementation.Kai Sommerfeld
2022-05-12[speech] Add multiplatform support, make speech recognition available at ↵Kai Sommerfeld
Service Broker.
2022-05-09[Android] Speech to text on search dialog.Kai Sommerfeld
2022-05-06Merge pull request #21331 from taoyouh/cmake-pathfuzzard
[Android][CMake] Correctly escape custom target commands
2022-05-04Merge pull request #21343 from notspiff/refactor_app_power_handlingArne Morten Kvarving
changed: put application screensaver/dpms/idle handling in separate class
2022-05-04changed: put application screensaver/dpms/idle handling in separate classArne Morten Kvarving
2022-05-03Merge pull request #21344 from fuzzard/fix_ffmpegcmakeKai Sommerfeld
[cmake] FFMPEG fix cmake multiple generation failure after #21047
2022-05-02[cmake] FFMPEG fix cmake multiple generation failure after #21047fuzzard
Essentially, when cmake creates its list from PC_FFMPEG_STATIC_LDFLAGS and it contains something like -framework OpenGL, on second+ runs of cmake regeneration, this list will be passed through to set_target_properties for INTERFACE_LINK_LIBRARIES. This then will convert the list (eg. -framework;OpenGL;) to (-framework;-lOpenGL). I believe this is due to it expecting to have every entry with a - specifier (eg -l/-L-W, etc), and in the case of the framework, as its not parsed as "-framework OpenGL" and instead splits it, we end up with the bad list causing build failures for apple platforms. Prior to #21047, the foreach loop for static libary search was not actually executed because FFMPEG_LIBRARIES was empty, as it was set AFTER the foreach loop. in #21047 i "fixed" this, by putting the set FFMPEG_LIBRARIES before the foreach, at which point the loop actually did something now causing the list failure described above.
2022-05-01[macos] silence OPENGL deprecation warningsfuzzard
No need for deprecation warnings. we know opengl is deprecated, its not going to change anything for us having those warnings.
2022-04-30[cmake] use DEPENDS_PATH for install for non cmake dep build systemsfuzzard
2022-04-30[cmake] refactor CMAKE_INSTALL_PREFIX into BUILD_DEP_TARGET macrofuzzard
set CMAKE_INSTALL_PREFIX in BUILD_DEP_TARGET, and use DEPENDS_PATH for location
2022-04-30[cmake] rename function get_archive_name to get_versionfile_datafuzzard
rename to reflect current usage. Old name was from my initial implementation and it no longer reflects what the function does.
2022-04-30[cmake][android] set prefix to DEPENDS_PATHfuzzard
DEPENDS_PATH is set in toolchain by using --prefix. lets use that as thats where all dependencies built using tools/depends are installed.
2022-04-30[cmake] typo fixup.fuzzard
2022-04-30[Android][CMake] Escape custom_target commandsHuang, Zhaoquan
Android add_custom_target commands are called with VERBATIM option to escape the commands and options. This fixes shell syntax error when PATH contains parentheses.
2022-04-29[cmake] Tools/depends platform toolchain propagate tarball dirfuzzard
for tools/depends platforms, we already set tarball dir as part of the configure script. Lets propagate this into the Toolchain file so we dont have to explicitly set -DTARBALL_DIR for those platforms. The single downside to this, is you cant override the toolchain option. However the reality is, you should override the configure script using --with--tarballs
2022-04-29[cmake][android] cleanup packaging make targets after PR #20599fuzzard
2022-04-29Merge pull request #21321 from taoyouh/fix-path-spacefuzzard
[Android][CMake] Fix custom_target commands when PATH has spaces
2022-04-28[cmake] rename CORE_HOST_IS_TARGET to HOST_CAN_EXECUTE_TARGETfuzzard
We are now in a time where some platforms/archs can execute "foreign" (x86_64) arch code locally (Apple via Rosetta, Windows on arm). Rename CORE_HOST_IS_TARGET to HOST_CAN_EXECUTE_TARGET to allow platforms ArchSetup to set and therefore execute tests if desired.
2022-04-28[Android][CMake] Fix custom_target commands when PATH has spacesHuang, Zhaoquan
Currently, when the PATH environment contains a space, CMake will quote the entire "PATH=/xxx:/xxx" and bash will not recognize this. The patch uses "env" command instead so that the quoted "PATH=/xxx:/xxx" can be recognized.
2022-04-20Merge pull request #21273 from fuzzard/depends_libandroidjnifuzzard
[cmake] build libandroidjni via cmake build
2022-04-18[cmake] build libandroidjni as cmake dependencyfuzzard
dont use tools/depends for libandroidjni. build via cmake find module as a required_platform_dep
2022-04-16[android] remove checks for unused tools aapt/dx/d8/zipalignfuzzard
Usage of the 3 explicit tools is no longer used, and gradle is used for all build steps that were once done explicitly by these tools. No need to keep checks, leave that to gradle internally.
2022-04-16Merge pull request #20200 from fuzzard/osx_nativeSDLfuzzard
[Osx] native windowing/input implementation