-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi!
First of all, thanks for this excellent work. I read the source and its quite nice to see clean, thoughtful CMake-script. :)
However on 3.6.2 and perhaps others, the example (which otherwise works fine) offers a slew of warnings and I wanted to tell you:
cmake -DCMAKE_TOOLCHAIN_FILE=~/devel/android-cmake/android.toolchain.cmake ..
CMake Deprecation Warning at /usr/share/cmake/Modules/CMakeForceCompiler.cmake:79 (message):
The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set
CMAKE_C_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
/home/noob/devel/android-cmake/android.toolchain.cmake:1206 (CMAKE_FORCE_C_COMPILER)
build/CMakeFiles/3.6.2/CMakeSystem.cmake:6 (include)
CMakeLists.txt:1 (project)
CMake Deprecation Warning at /usr/share/cmake/Modules/CMakeForceCompiler.cmake:93 (message):
The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set
CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
/home/noob/devel/android-cmake/android.toolchain.cmake:1214 (CMAKE_FORCE_CXX_COMPILER)
build/CMakeFiles/3.6.2/CMakeSystem.cmake:6 (include)
CMakeLists.txt:1 (project)
CMake Warning (dev) at /home/noob/devel/android-cmake/android.toolchain.cmake:1670 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "LIBRARY_OUTPUT_PATH_ROOT" will no longer be
dereferenced when the policy is set to NEW. Since the policy is not set
the OLD behavior will be used.
Call Stack (most recent call first):
build/CMakeFiles/3.6.2/CMakeSystem.cmake:6 (include)
CMakeLists.txt:1 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/noob/devel/android-cmake-example/build
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels