Версия 0.4.0
This commit is contained in:
parent
d6b5201ac3
commit
e540892c2c
@ -1,5 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
project(myx-cmake VERSION 0.3.9 LANGUAGES)
|
project(myx-cmake VERSION 0.4.0 LANGUAGES)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
file(WRITE ${CMAKE_SOURCE_DIR}/MyxCMake/MyxCMakeConfigVersion.cmake
|
file(WRITE ${CMAKE_SOURCE_DIR}/MyxCMake/MyxCMakeConfigVersion.cmake
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
function(myx_cmake_generate_git_info_header)
|
function(myx_cmake_generate_git_info_header)
|
||||||
set(output_file ${CMAKE_BINARY_DIR}/include/myx_cmake_git_info.hpp)
|
set(output_file ${CMAKE_BINARY_DIR}/include/myx_cmake_git_info.hpp)
|
||||||
if(MYX_CMAKE_GENERATED_HEADERS_PATH)
|
if(MYX_CMAKE_GENERATED_HEADERS_PATH)
|
||||||
set(output_file ${MYX_CMAKE_GENERATED_HEADERS_PATH}/myx_cmake_git_info.hpp)
|
set(output_file ${MYX_CMAKE_GENERATED_HEADERS_PATH}/myx_cmake_git_info_p.hpp)
|
||||||
elseif(ARGV0)
|
elseif(ARGV0)
|
||||||
set(output_file ${ARGV0})
|
set(output_file ${ARGV0})
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user