[CMake] Extra built type subdir appeded to LIBRARY_OUTPUT_PATH
Alexander Neundorf
a.neundorf-work at gmx.net
Fri Mar 31 01:47:01 EST 2006
> --- Ursprüngliche Nachricht ---
> Von: "Richard Maunder" <newsgroup at richardmaunder.com>
> An: <cmake at cmake.org>
> Betreff: [CMake] Extra built type subdir appeded to LIBRARY_OUTPUT_PATH
> Datum: Fri, 31 Mar 2006 08:24:14 +0200
>
> Hi,
>
> With MSVS projects, when I set the library or executable output path, a
> built type subdirectory is automatically appended to the output path -
> e.g.
>
> SET(LIBRARY_OUTPUT_PATH R:/lib)
>
> results in a VS .sln with linker output to R:\lib\$(OutDir)\
>
> where OutDir is "debug" / "release" etc. Is there anyway to avoid this
so
> the lib/exe is put in the root LIBRARY_OUTPUT_PATH or should I revert
to a
> custom copy command to move the generated lib?
>
> I'm sure this has come up before - but I can't find any mention on the
> list....
Not sure this is what you mean, but if you specify LIBRARY_OUTPUT_PATH,
with msvc the libs will go to ${LIBRARY_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}
Bye
Alex
--
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
More information about the CMake
mailing list