CMake/Tests/RunCMake/CPack/LONG_FILENAMES.cmake

11 lines
335 B
CMake
Raw Normal View History

set(LONG_FILENAME
"${CMAKE_CURRENT_BINARY_DIR}/llllllllll_oooooooooo_nnnnnnnnnn_gggggggggg_ffffffffff_iiiiiiiiii_llllllllll_eeeeeeeeee_nnnnnnnnnn_aaaaaaaaaa_mmmmmmmmmm_eeeeeeeeee.txt")
file(WRITE
"${LONG_FILENAME}"
"long_filename_test")
install(FILES ${LONG_FILENAME} DESTINATION foo)
set(CPACK_PACKAGE_NAME "long_filenames")