[CMake] Creating a visual studio project with non .cpp or .h
files in it.
Sylvain Benner
benner at virtools.com
Wed Dec 5 09:21:58 EST 2007
> Does anyone know the answer to this?
We have a solution but it requires to modify CMake source code.
We are using a custom ADD_TARGET command, I attached it to this post.
The idea is to add a new keyword "Documentation" as opposed to
Executable, Shared and Static. This keyword set the target to be an
"UTILITY" target.
example:
ADD_TARGET_MP(${PROJECT_NAME} Documentation FILES ${TARGET_FILES})
I hope it can help.
> I'd love you forever.... :)
>
> Joe
>
Don't, thanks :D
--Sylvain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AddTargetMP.rar
Type: application/octet-stream
Size: 2425 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20071205/38aee240/AddTargetMP.obj
More information about the CMake
mailing list