Hello all,

I am a cmake newbie. Now I have two compiler that target MyTarget. The
first one is a modified cl.exe, and the other one is the clang-cl.exe.
Because they don't target x86/x64, both headers/libraries are supposed not
to be included/linked. Instead I just want to include/link
headers/libraries of MyTarget. Here are my some questions:

1. What I need to do is to add an option MyTarget for arch of "Visual
Studio 14 2015 [arch]", just like "Visual Studio 14 2015 [Win64]" or
"Visual Studio 14 2015 [ARM]"?
2. How can I support cl.exe and clang-cl.exe by Visual Studio 14 2015
[MyTarget]"? Should I add options cl.exe/clang-cl.exe for toolset-name of
"-T <toolset-name>"?
3. Is there any way to make sure that all x86/x64 headers/libraries are not
included/linked? I'd like only include/link headers/libraries of MyTarget.

Thanks for your reply, any comments are welcomed.
Yi-Hong
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to