Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
[Android][CMake] Fix custom_target commands when PATH has spaces
|
|
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.
|
|
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.
|
|
[cmake] build libandroidjni via cmake build
|
|
dont use tools/depends for libandroidjni. build via cmake find module as
a required_platform_dep
|
|
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.
|
|
[Osx] native windowing/input implementation
|