Textt

  • Textt
  • ブログ
  • ユーザー登録
  • ログイン

nanashia128 デイリーを目標に最低ウィークリーでの更新を目指したい日記的な何か

  • Use set_target_prope

    Use set_target_properties to customize the RUNTIME_OUTPUT_DIRECTORY

    set_target_properties( yourexe PROPERTIES RUNTIME_OUTPUT_DIRECTORY E:/parsec/bin/ )

    As an alternative, modifying the CMAKE_RUNTIME_OUTPUT_DIRECTORY allows you to specify this for all targets in the cmake project. Take care that you modify the CMAKE_LIBRARY_OUTPUT_DIRECTORY as well when you build dlls.

    set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
    set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )

    c++ - How to change the executable output directory for Win32 builds, in CMake? - Stack Overflow http://stackoverflow.com/questions/13556885/how-to-change-the-executable-output-directory-for-win32-builds-in-cmake
    2014/02/14 nanashia128
© Textt / GreenSpace