首页 > CMake > CMake–设置linux下lib目录
2013七月20

CMake–设置linux下lib目录

linux下lib目录有可能不对,不知道是不是cmake版本的问题

set_target_properties(PPCore PROPERTIES ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${PP_BINARY_DIR}/bin/lib) //设置window下的lib或linux下的.a文件到bin/lib下
set_target_properties(PPCore PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG ${PP_BINARY_DIR}/bin/dll) //设置window下的dll到bin/dll下
set_target_properties(PPCore PROPERTIES LIBRARY_OUTPUT_DIRECTORY_DEBUG ${PP_BINARY_DIR}/bin/lib) //设置linux下的.so到bin/lib下

文章作者:hgy413
本文地址:https://hgy413.com/2185.html
版权所有 © 转载时必须以链接形式注明作者和原始出处!

7 Responses to “CMake–设置linux下lib目录”

  1. #1 those g 回复 | 引用 Post:2020-06-10 15:38

    Wow, wonderful blog layout! How long have you been blogging for?
    you make blogging look easy. The overall look of your web site is wonderful, let alone the content!

  2. #2 g into 回复 | 引用 Post:2020-06-10 16:57

    Excellent way of telling, and good piece of writing to get
    data about my presentation topic, which i am going to deliver in university.

  3. #3 g you 回复 | 引用 Post:2020-06-12 00:35

    Wow, fantastic blog structure! How long have you ever
    been blogging for? you made blogging look easy.

    The whole glance of your site is fantastic, let alone the content!

  4. #4 g 回复 | 引用 Post:2020-06-13 00:24

    Greate article. Keep writing such kind of information on your blog.
    Im really impressed by your blog.
    Hello there, You’ve performed a fantastic job. I’ll definitely digg it and in my opinion suggest to my friends.

    I am confident they will be benefited from this web site.

  5. #5 tinyurl.com 回复 | 引用 Post:2020-06-14 04:01

    Hello mates, its enormous piece of writing concerning cultureand entirely defined, keep it up
    all the time.

  6. #6 g 回复 | 引用 Post:2020-06-15 08:04

    Greetings from Los angeles! I’m bored to tears at work so I decided
    to check out your blog on my iphone during lunch break.
    I enjoy the knowledge you present here and can’t wait
    to take a look when I get home. I’m surprised at how fast your
    blog loaded on my cell phone .. I’m not even using WIFI, just
    3G .. Anyhow, great blog!

  7. #7 g 回复 | 引用 Post:2020-06-15 17:00

    I could not refrain from commenting. Exceptionally well written!

发表评论