# How to add \*.dll or \*.lib into project C++ for Cmake of visual studio IDE ?

**URL:** https://discourse.cmake.org/t/how-to-add-dll-or-lib-into-project-c-for-cmake-of-visual-studio-ide/654
**Category:** Code
**Tags:** os:windows
**Created:** [February 19, 2020, 3:02am UTC](https://discourse.cmake.org/t/how-to-add-dll-or-lib-into-project-c-for-cmake-of-visual-studio-ide/654 "2020-02-19T03:02:30Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [February 24, 2020, 2:11pm UTC](https://discourse.cmake.org/t/how-to-add-dll-or-lib-into-project-c-for-cmake-of-visual-studio-ide/654/3 "2020-02-24T14:11:35Z")

</div>

I’m not particularly familiar with `#import`.

@Dung_Le_Quang if you add the needed files to the project by hand in the IDE and save, what content is added to the `.vcxproj` file?

---

_[View the full topic](https://discourse.cmake.org/t/how-to-add-dll-or-lib-into-project-c-for-cmake-of-visual-studio-ide/654)._
