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

List:       cmake
Subject:    Re: [CMake] How to handle EXECUTABLE and LIBRARY with the same name?
From:       "William A. Hoffman" <billlist () nycap ! rr ! com>
Date:       2006-10-04 12:58:18
Message-ID: 6.2.3.4.2.20061004085723.0948a160 () pop ! nycap ! rr ! com
[Download RAW message or body]

At 06:45 AM 10/4/2006, Eric Noulard wrote:
>In my project I have a library
>
>ADD_LIBRARY(tsp_ascii_writer ${ASCII_WRITER_LIB_SRC})
>
>and an executable with the same name
>
>ADD_EXECUTABLE(tsp_ascii_writer ${ASCII_WRITER_SRC})

The target names must be different.
However you can use the target property OUTPUT_NAME to
change the name of the output file.

-Bill


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

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