Warning, /frameworks/extra-cmake-modules/tests/ECMSetupVersionTest/new_explicit_simple_no_version_string_vars/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 3.0.0) 0002 0003 project(new_explicit_simple VERSION 1.5.6.7) 0004 0005 # trigger *_VERSION_STRING vars no longer being set 0006 set(ECM_GLOBAL_FIND_VERSION 5.83) 0007 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) 0008 include(ECMSetupVersion) 0009 0010 ecm_setup_version(2.3.4 VARIABLE_PREFIX Foo) 0011 0012 include(../version_helpers.cmake) 0013 project_version_var_checks(1.5.6.7) 0014 version_var_checks(Foo 2.3.4) 0015 assert_var_num_value(Foo_SOVERSION 2) 0016 0017 add_executable(dummy main.c)