[flang-commits] [PATCH] D84334: Version information in flang/f18

Isuru Fernando via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Jul 30 10:13:16 PDT 2020


isuruf added inline comments.


================
Comment at: flang/tools/f18/CMakeLists.txt:64
 file(COPY ${CMAKE_BINARY_DIR}/tools/flang/bin/flang DESTINATION ${CMAKE_BINARY_DIR}/bin FILE_PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/f18_version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/f18_version.h @ONLY)
 # The flang script to be installed needs a different path to the headers.
----------------
Can you use `CMAKE_CURRENT_BINARY_DIR` to configure the file? Source directory should be read only and not written to.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84334/new/

https://reviews.llvm.org/D84334



More information about the flang-commits mailing list