Age | Commit message (Collapse) | Author |
|
|
|
refactor patch handling to deal with windows/unix differences and find patch
module
|
|
|
|
location
|
|
|
|
Prepend depends_path to cmake_prefix_path for find_package/program/etc calls to
search our depends_path first
Pass through cmake_prefix_path to internal build functions for cmake based build systems
|
|
Allows ENABLE_INTERNAL_SPDLOG path to test for existence of package/lib meeting
SPDLOG-VERSION version requirements, and not build if found.
Also force ENABLE_INTERNAL_FMT on if we are doing ENABLE_INTERNAL_SPDLOG due to
fmt version requirements for spdlog
|
|
enables the ENABLE_INTERNAL_FMT path to test for existing lib/package and if it meets
the version supplied by FMT-VERSION, we dont need to rebuild.
|
|
remove arch based DEBUG_POSTFIX. turns out we are better to have the individual
lib builds to define a postfix when appropriate.
|
|
|
|
Required to make ninja play nice when using ENABLE_INTERNAL_<LIB>
|
|
|
|
|
|
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
|
|
Implement Fmt::Fmt target to allow adding dependency target for
ENABLE_INTERNAL_FMT.
|
|
Implement CrossGUID::CrossGUID target to allow adding dependency target for
ENABLE_INTERNAL_CROSSGUID.
|
|
Supporting features for Smart Home
|
|
|
|
[cmake] Flesh out FindPatch module for windows use
|
|
[cmake] fixup buildtype after #21043
|
|
|
|
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.
|
|
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
|
|
[cmake] provide internal depends builds with build_type
|
|
[skinning] Skin timer implementation
|
|
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
|
|
|
|
|
|
[cmake] Assorted cmake fixes regarding Find Modules
|
|
|
|
[build] fix CMake-related build quoting issue
|
|
[Windows] fix cmake find patch executable (prioritize use Git patch.exe)
|
|
|
|
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.
|
|
|
|
Service Broker.
|
|
|
|
[Android][CMake] Correctly escape custom target commands
|
|
changed: put application screensaver/dpms/idle handling in separate class
|
|
|
|
[cmake] FFMPEG fix cmake multiple generation failure after #21047
|
|
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.
|
|
No need for deprecation warnings. we know opengl is deprecated, its not going to change
anything for us having those warnings.
|
|
|
|
set CMAKE_INSTALL_PREFIX in BUILD_DEP_TARGET, and use DEPENDS_PATH for location
|
|
rename to reflect current usage. Old name was from my initial implementation and
it no longer reflects what the function does.
|
|
DEPENDS_PATH is set in toolchain by using --prefix. lets use that as thats where
all dependencies built using tools/depends are installed.
|
|
|
|
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.
|
|
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
|