Update name

This commit is contained in:
halx99 2021-06-01 20:31:48 +08:00
parent 9ff67f5087
commit 5effccdb3c
2 changed files with 11 additions and 11 deletions

View File

@ -85,12 +85,12 @@ if(WINDOWS)
# Visual Studio 2015, MSVC_VERSION 1900 (v140 toolset)
# Visual Studio 2017, MSVC_VERSION 1910-1919 (v141 toolset)
if(${MSVC_VERSION} EQUAL 1900 OR ${MSVC_VERSION} GREATER 1900)
message(STATUS "using Windows MSVC generate cocos2d-x project, MSVC_VERSION:${MSVC_VERSION}")
message(STATUS "using Windows MSVC generate adxe project, MSVC_VERSION:${MSVC_VERSION}")
else()
message(FATAL_ERROR "using Windows MSVC generate cocos2d-x project, MSVC_VERSION:${MSVC_VERSION} lower than needed")
message(FATAL_ERROR "using Windows MSVC generate adxe project, MSVC_VERSION:${MSVC_VERSION} lower than needed")
endif()
else()
message(FATAL_ERROR "please using Windows MSVC compile cocos2d-x project, support other compile tools not yet")
message(FATAL_ERROR "please using Windows MSVC compile adxe project, support other compile tools not yet")
endif()
endif()

View File

@ -9,23 +9,23 @@ function(AssureOutOfSourceBuilds)
# disallow in-source builds
if("${srcdir}" STREQUAL "${bindir}")
message("######################################################")
message("# Cocos2d-x should not be configured & built in the Cocos2d-x source directory")
message("# adxe should not be configured & built in the adxe source directory")
message("# You must run cmake in a build directory.")
message("# For example:")
message("# mkdir Cocos ; cd Cocos")
message("# download & unpack the Cocos2d-x tarball")
message("# mkdir Cocos2d-x-Build")
message("# download & unpack the adxe tarball")
message("# mkdir adxe-Build")
message("# this will create the following directory structure")
message("#")
message("# Cocos")
message("# +--Cocos2d-x")
message("# +--Cocos2d-x-Build")
message("# +--adxe")
message("# +--adxe-Build")
message("#")
message("# Then you can proceed to configure and build")
message("# by using the following commands")
message("#")
message("# cd Cocos2d-x-Build")
message("# cmake ../Cocos2d-x # or ccmake, or cmake-gui ")
message("# cd adxe-Build")
message("# cmake ../adxe # or ccmake, or cmake-gui ")
message("# make")
message("#")
message("# NOTE: Given that you already tried to make an in-source build")
@ -33,7 +33,7 @@ function(AssureOutOfSourceBuilds)
message("# in your source tree. run 'git status' to find them and")
message("# remove them by doing:")
message("#")
message("# cd Cocos/Cocos2d-x")
message("# cd Cocos/adxe")
message("# git clean -n -d")
message("# git clean -f -d")
message("# git checkout --")