Created
November 24, 2016 15:20
-
-
Save Tomas-Lala/192a1e1aeba954cf3e51ac2eee6fd126 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oregon@tomas:~/src/OregonCore/build$ cmake ../ -DPREFIX=$HOME -DTOOLS=1 | |
.... | |
.... | |
.... | |
.... | |
For input: | |
' | |
/* _MSC_VER = VVRR */ | |
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(_MSC_VER / 100) | |
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(_MSC_VER % 100) | |
# if defined(_MSC_FULL_VER) | |
# if _MSC_VER >= 1400 | |
/* _MSC_FULL_VER = VVRRPPPPP */ | |
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(_MSC_FULL_VER % 100000) | |
# else | |
/* _MSC_FULL_VER = VVRRPPPP */ | |
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(_MSC_FULL_VER % 10000) | |
# endif | |
# endif | |
# if defined(_MSC_BUILD) | |
# define @PREFIX@COMPILER_VERSION_TWEAK @MACRO_DEC@(_MSC_BUILD) | |
# endif' | |
the old evaluation rules produce: | |
' | |
/* _MSC_VER = VVRR */ | |
# define /home/oregonCOMPILER_VERSION_MAJOR @MACRO_DEC@(_MSC_VER / 100) | |
# define /home/oregonCOMPILER_VERSION_MINOR @MACRO_DEC@(_MSC_VER % 100) | |
# if defined(_MSC_FULL_VER) | |
# if _MSC_VER >= 1400 | |
/* _MSC_FULL_VER = VVRRPPPPP */ | |
# define /home/oregonCOMPILER_VERSION_PATCH @MACRO_DEC@(_MSC_FULL_VER % 100000) | |
# else | |
/* _MSC_FULL_VER = VVRRPPPP */ | |
# define /home/oregonCOMPILER_VERSION_PATCH @MACRO_DEC@(_MSC_FULL_VER % 10000) | |
# endif | |
# endif | |
# if defined(_MSC_BUILD) | |
# define /home/oregonCOMPILER_VERSION_TWEAK @MACRO_DEC@(_MSC_BUILD) | |
# endif' | |
but the new evaluation rules produce: | |
' | |
/* _MSC_VER = VVRR */ | |
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(_MSC_VER / 100) | |
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(_MSC_VER % 100) | |
# if defined(_MSC_FULL_VER) | |
# if _MSC_VER >= 1400 | |
/* _MSC_FULL_VER = VVRRPPPPP */ | |
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(_MSC_FULL_VER % 100000) | |
# else | |
/* _MSC_FULL_VER = VVRRPPPP */ | |
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(_MSC_FULL_VER % 10000) | |
# endif | |
# endif | |
# if defined(_MSC_BUILD) | |
# define @PREFIX@COMPILER_VERSION_TWEAK @MACRO_DEC@(_MSC_BUILD) | |
# endif' | |
Using the old result for compatibility since the policy is not set. | |
Call Stack (most recent call first): | |
/usr/share/cmake-3.5/Modules/CMakeCompilerIdDetection.cmake:16 (include) | |
/usr/share/cmake-3.5/Modules/CMakeCompilerIdDetection.cmake:44 (_readFile) | |
/usr/share/cmake-3.5/Modules/CMakeDetermineCompilerId.cmake:124 (compiler_id_detection) | |
/usr/share/cmake-3.5/Modules/CMakeDetermineCompilerId.cmake:142 (CMAKE_DETERMINE_COMPILER_ID_WRITE) | |
/usr/share/cmake-3.5/Modules/CMakeDetermineCompilerId.cmake:40 (CMAKE_DETERMINE_COMPILER_ID_BUILD) | |
/usr/share/cmake-3.5/Modules/CMakeDetermineCXXCompiler.cmake:113 (CMAKE_DETERMINE_COMPILER_ID) | |
CMakeLists.txt:12 (project) | |
This warning is for project developers. Use -Wno-dev to suppress it. | |
-- The CXX compiler identification is unknown | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detected 64-bit platform | |
-- UNIX: Using default configuration directory | |
-- UNIX: Using default library directory | |
-- UNIX: Configuring uninstall target | |
-- UNIX: Created uninstall target | |
-- Performing Test COMPILER_SUPPORTS_CXX11 | |
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success | |
-- Performing Test COMPILER_SUPPORTS_CXX0X | |
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success | |
-- Found ACE library: /usr/lib/libACE.so | |
-- Found ACE headers: /usr/include | |
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so | |
-- Using mysql-config: /usr/bin/mysql_config | |
-- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient.so | |
-- Found MySQL headers: /usr/include/mysql | |
-- Found Curses library: /usr/lib/x86_64-linux-gnu/libcurses.so | |
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") | |
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6") | |
-- Looking for BZ2_bzCompressInit | |
-- Looking for BZ2_bzCompressInit - found | |
-- Found Binutils - /usr/lib/x86_64-linux-gnu/libbfd.so, /usr/lib/x86_64-linux-gnu/libiberty.a | |
-- Found Git: /usr/bin/git (found version "2.7.4") | |
* OregonCore revision : 3599 (d43bed4) | |
* Build binaries in : Release mode | |
* Install core to : /home/oregon/bin | |
* Install libraries to : /home/oregon/lib | |
* Install configs to : /home/oregon/etc | |
* Build world/auth : Yes (default) | |
* Build with scripts : Yes (default) | |
* Build map extractiors : Yes | |
* Build core w/PCH : Yes (default) | |
* Build scripts w/PCH : Yes (default) | |
* Use SFMT for RNG : No (default) | |
* Show compile-warnings : No (default) | |
* Use coreside debug : No (default) | |
* Build w/ documentation : No (default) | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/oregon/src/OregonCore/build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment