# Targets package and source\_package - created only when configured for Make or Ninja?

**URL:** https://discourse.cmake.org/t/targets-package-and-source-package-created-only-when-configured-for-make-or-ninja/620
**Category:** Usage
**Created:** [February 12, 2020, 1:05pm UTC](https://discourse.cmake.org/t/targets-package-and-source-package-created-only-when-configured-for-make-or-ninja/620 "2020-02-12T13:05:53Z")
**Posts on this page:** 1
**Showing post:** 2

<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 12, 2020, 2:23pm UTC](https://discourse.cmake.org/t/targets-package-and-source-package-created-only-when-configured-for-make-or-ninja/620/2 "2020-02-12T14:23:51Z")

</div>

Cc: @craig.scott

The Xcode generator also creates the `package` target. So does the VS generator, but it uses the upper-case name `PACKAGE`. It is correct that only the Ninja and Makefile generators create the `package_source` target.

---

_[View the full topic](https://discourse.cmake.org/t/targets-package-and-source-package-created-only-when-configured-for-make-or-ninja/620)._
