[CMake] execute_process spew test

2010-12-20 Thread luxInteg
Greetings I tried an execute_process that spits out a file. Llets call this ${someDirectory}/someFile. I then tried to do a test like so if( ${someDirectory}/someFile 1 ) --- do something endif( ${someDirectory}/someFile 1 ) but it does not seem to work in shell scripts{linux} we

Re: [CMake] execute_process spew test

2010-12-20 Thread Rolf Eike Beer
Greetings I tried an execute_process that spits out a file. Llets call this ${someDirectory}/someFile. I then tried to do a test like so if( ${someDirectory}/someFile 1 ) --- do something endif( ${someDirectory}/someFile 1 ) but it does not seem to work in shell scripts{linux}