[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] utility project are exclude from default build
From:       Tyler Roscoe <tyler () cryptio ! net>
Date:       2009-07-30 15:38:57
Message-ID: 20090730153857.GC17045 () cryptio ! net
[Download RAW message or body]

On Wed, Jul 29, 2009 at 01:06:44PM -0700, Nicolas Slythe (Intern) wrote:
> Why utility project are excluded from solution build on visual studio

What is a utility project? Can you build it by right-clicking that
project and explicitly choosing to build it?

> I tried to set EXCLUDE_FROM_DEFAULT_BUILD to 0
> But the utility project is never build when I build the solution

EXCLUDE_FROM_DEFAULT_BUILD is for turning exclusion off, not for turning
inclusion on.

Anyway, I'm going to guess that you're using add_custom_target() and you
need to add the ALL parameter to it.

tyler
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic