30 Commits (9f2c769a59c5ae17abfc802eaccefd34dd104be7)

Author SHA1 Message Date
Felix Fietkau 294e908a2c cmake: skip build system check on compile 8 years ago
Matthias Schiffer 3d71786154
build: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common directory for all targets 8 years ago
Hauke Mehrtens 559fb537d8 build: use CXXFLAGS if defined 8 years ago
Felix Fietkau 50e7c1f79d include/cmake.mk: fix host builds 9 years ago
Luke McKee eadf5fb7f8 cmake: include/cmake.mk add CMAKE_BINARY_SUBDIR to allow out of source tree builds 9 years ago
Vasilis Tsiligiannis d55512075b include/cmake.mk: Add helper macro to handle conditionals for CMake boolean type variables 9 years ago
Felix Fietkau 1d2c63c455 include/cmake.mk: search in $(STAGING_DIR)/usr instead of plain $(STAGING_DIR) to avoid picking up stuff from host/ 9 years ago
Felix Fietkau 7b5236de85 include/cmake.mk: adjust for STAGING_DIR_HOST split 9 years ago
Felix Fietkau 48fc1f9781 build: for cmake, always use ccache from staging dir instead of relying on the host 9 years ago
Felix Fietkau d2ecd10f2f cmake.mk: enable -Bsymbolic-functions by default for linking shared libs, slightly improves performance and compression 10 years ago
Felix Fietkau 4cfc7b50ae cmake.mk: add host build support 10 years ago
Felix Fietkau a5422864f5 build: fix CMake assembly builds with ccache 10 years ago
Felix Fietkau da91462013 cmake: include external toolchain directory in CMAKE_FIND_ROOT_PATH (fixes #19074) 10 years ago
Jo-Philipp Wich fd53d49f5b include: cmake: prevent inclusion of rpath in binaries 10 years ago
Felix Fietkau 9a46799804 build: use gcc-provided ar, nm and ranlib where appropriate 10 years ago
Felix Fietkau ca6ba637cd include/cmake.mk: fix indentation 11 years ago
Felix Fietkau 0e9245c19f include/cmake.mk: define CMAKE_AR and CMAKE_RANLIB to fix build errors 11 years ago
Felix Fietkau 9706d4e00e cmake.mk: fix support for ccache 11 years ago
Jo-Philipp Wich 73a584f912 include: cmake: pass toolchain directory to default root find path as well 12 years ago
Felix Fietkau f3d5f6ccb0 cmake.mk: add support for overriding the source dir, and define the cmake prefix path to avoid picking up host libraries for target builds (patch by Henning Rogge) 12 years ago
Felix Fietkau b648860f9c cmake: add support for V=cs 13 years ago
Jo-Philipp Wich 9054bc91b3 cmake.mk: fix passing of LDFLAGS 13 years ago
Felix Fietkau 0d0915d168 cmake: fix ccache command when using host ccache (patch from #9611) 14 years ago
Jo-Philipp Wich cda35d2ef2 cmake.mk: fix bogus values for FIND_ROOT_PATH_MODE_*; kept plplot from compiling (#9573) 14 years ago
Felix Fietkau aea6afefe6 add LD_LIBRARY to cmake.mk 14 years ago
Jo-Philipp Wich 0f13d0a068 cmake.mk: don't assume toolchain binaries in .../bin/ if an external toolchain is used, rely on `which` instead 14 years ago
Michael Büsch 9e7801b913 cmake: Fix ccache 14 years ago
Michael Büsch 6da37f79c5 cmake: Pass VERBOSE=1 to the generated makefile to reveal flags and commands in a verbose openwrt build. 14 years ago
Michael Büsch 21e2dcd199 cmake: Remove -O3 from release CFLAGS. Honor the OpenWRT -Os flag instead. 14 years ago
Felix Fietkau c4d2dde396 add a template for cmake packages 14 years ago