[CMake] Building CMake with custom OpenSSL

2019-05-20 Thread A . Dmitrovsky
Hi, I am building CMake (on x64 linux) with custom OpenSSL and wondering if there are any CMake requirements on how OpenSSL should be compiled. Specifically, I'm interested to know if it is valid to link CMake with single-threaded OpenSSL library (configured with "no-threads" option). May be it is

Re: [CMake] optional parameters in add_custom_target?

2019-05-20 Thread Gregor Jasny via CMake
Hello, On 20.05.19 16:01, hex wrote: What means command1 [args1...]]? Or, should this read *add_custom_target(Name [ALL] [COMMAND command1 [args1...]]** **   [COMMAND command2 [args2...] ...]* I believe this is due to backward compatibility (pre 2.6) reasons so that you could still write:

[CMake] optional parameters in add_custom_target?

2019-05-20 Thread hex
The function is defined as *add_custom_target(Name [ALL] [command1 [args1...]]** **   [COMMAND command2 [args2...] ...]** **   [DEPENDS depend depend depend ... ]** **   [BYPRODUCTS [files...]]** **   [WORKING_DIRECTORY dir]** **   [COMMENT comment]** **   [VERBATIM] [USES_TERMINAL]** **   [COMMA