Set cmake min version to 3.10 [ci build]

This commit is contained in:
halx99 2021-04-21 14:05:44 +08:00
parent 8eac361f40
commit e8c1d7bc2c
40 changed files with 10 additions and 41 deletions

View File

@ -26,7 +26,7 @@
# build engine library and all tests # build engine library and all tests
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.10)
project(engine-x) project(engine-x)

View File

@ -1,5 +1,3 @@
cmake_minimum_required(VERSION 3.6)
# need to whole-archive this lib # need to whole-archive this lib
set(target_name cpp_android_spec) set(target_name cpp_android_spec)

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
# need to whole-archive this lib # need to whole-archive this lib
set(target_name lua_android_spec) set(target_name lua_android_spec)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
project(external) project(external)
if(NOT APPLE) if(NOT APPLE)

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name convertUTF) set(lib_name convertUTF)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name cpufeatures) set(lib_name cpufeatures)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name astc) set(lib_name astc)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name bullet) set(lib_name bullet)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.10)
project(chipmunk) project(chipmunk)

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name clipper) set(lib_name clipper)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name curl) set(lib_name curl)
set(target_name ext_${lib_name}) set(target_name ext_${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name edtaa3func) set(lib_name edtaa3func)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name fastlz) set(lib_name fastlz)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name freetype) set(lib_name freetype)
set(target_name ext_${lib_name}) set(target_name ext_${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name glad) set(lib_name glad)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name glfw3) set(lib_name glfw3)
set(target_name ext_${lib_name}) set(target_name ext_${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name glsl_optimizer) set(lib_name glsl_optimizer)
set(target_name ext_${lib_name}) set(target_name ext_${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name luajit) set(lib_name luajit)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(LUA_SRC_PATH ${CMAKE_CURRENT_LIST_DIR}/lua-${LUA_VERSION}/src) set(LUA_SRC_PATH ${CMAKE_CURRENT_LIST_DIR}/lua-${LUA_VERSION}/src)

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name tolua) set(lib_name tolua)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name lz4) set(lib_name lz4)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name md5) set(lib_name md5)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name ogg) set(lib_name ogg)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name openal) set(lib_name openal)
set(target_name ext_${lib_name}) set(target_name ext_${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name openssl) set(lib_name openssl)

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name png) set(lib_name png)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name poly2tri) set(lib_name poly2tri)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name pugixml) set(lib_name pugixml)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name recast) set(lib_name recast)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name unzip) set(lib_name unzip)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name webp) set(lib_name webp)
set(target_name ${lib_name}) set(target_name ${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name iconv) set(lib_name iconv)
set(target_name ext_${lib_name}) set(target_name ext_${lib_name})

View File

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.6)
set(lib_name zlib) set(lib_name zlib)
set(target_name ext_${lib_name}) set(target_name ext_${lib_name})

View File

@ -23,7 +23,7 @@
# THE SOFTWARE. # THE SOFTWARE.
# ****************************************************************************/ # ****************************************************************************/
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.10)
set(APP_NAME HelloCpp) set(APP_NAME HelloCpp)

View File

@ -21,7 +21,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE. # THE SOFTWARE.
# ****************************************************************************/ # ****************************************************************************/
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.10)
set(APP_NAME HelloLua) set(APP_NAME HelloLua)

View File

@ -21,7 +21,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE. # THE SOFTWARE.
# ****************************************************************************/ # ****************************************************************************/
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.10)
set(APP_NAME cpp-empty-test) set(APP_NAME cpp-empty-test)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.10)
set(APP_NAME cpp-tests) set(APP_NAME cpp-tests)

View File

@ -21,7 +21,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE. # THE SOFTWARE.
# ****************************************************************************/ # ****************************************************************************/
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.10)
set(APP_NAME fairygui-tests) set(APP_NAME fairygui-tests)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.10)
set(APP_NAME lua-empty-test) set(APP_NAME lua-empty-test)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6) cmake_minimum_required(VERSION 3.10)
set(APP_NAME lua-tests) set(APP_NAME lua-tests)