Thank you Nils! I actually just figured out that I would have to use the environment variables and they work just fine... I was just wondering if CMake had a variable for it or not...
Eric From: Nils Gladitz [mailto:glad...@sci-vis.de] Sent: Monday, October 08, 2012 11:40 AM To: Eric Clark Cc: CMake Mailing List (cmake@cmake.org) Subject: Re: [CMake] How to get current user? I'd try $ENV{USERNAME} on windows and otherwise $ENV{USER}. Nils On 10/08/2012 06:10 PM, Eric Clark wrote: Hello All, Can anyone tell me if there is a variable or command that will return me the name of the current user? Thank You, Eric Clark - Code Magician 850.678.5222 ecl...@ara.com<mailto:ecl...@ara.com> To be fond of something is better than merely to know it, and to find joy in it is better than merely to be fond of it. -- The Analects, Confucius -- Powered by www.kitware.com<http://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 -- Nils Gladitz, B.Sc. DICOM, Konnektivität und Entwicklung Scivis wissenschaftliche Bildverarbeitung GmbH Bertha-von-Suttner-Str. 5 D-37085 Göttingen GERMANY Handelsregister Nr. / Trade Register No. B3100 Göttingen Geschäftsführer / Managing Directors Dr. Gernot Ebel, Dr. Uwe Engeland Tel: 0049 (0)551 634181-28 E-Mail: glad...@scivis.de<mailto:glad...@scivis.de> Web: www.scivis.de<http://www.scivis.de>
-- 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