[CMake] How to get current user?

2012-10-08 Thread Eric Clark
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.commailto:ecl...@ara.com To be fond of something is better than merely to know it, and to find joy in it is better

Re: [CMake] How to get current user?

2012-10-08 Thread Nils Gladitz
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

Re: [CMake] How to get current user?

2012-10-08 Thread Eric Clark
: 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