[CMake] Alternative to `add_compile_options` in Toolchain Files

2019-03-26 Thread Jayesh Badwaik
-command-line- argument]` if those warnings are enabled. Is there an alternative to `CMAKE_CXX_FLAGS_INIT` which avoids these issues? Thanks -- Best Jayesh Badwaik https://jayeshbadwaik.github.io signature.asc Description: This is a digitally signed message part. -- Powered

Re: [CMake] Replacing Compile Options for a Target

2016-12-07 Thread Jayesh Badwaik
Better solution I have found is to create a static library from the header in a subdirectory and set CMAKE_CXX_FLAGS for that subdirectory only. This seems to be working and looks robust for all test cases I have encountered. -- Cheers Jayesh Badwaik https://www.jayeshbadwaik.in signature.asc Descr

[CMake] Replacing Compile Options for a Target

2016-12-06 Thread Jayesh Badwaik
ons() but that seems to just add options to the already available global options. What command should I use to assign a completely new set of flags from the scratch. -- Cheers Jayesh Badwaik https://www.jayeshbadwaik.in signature.asc Description: This is a digitally signed messag

Re: [CMake] Is there a default value for CMAKE_MODULE_PATH?

2016-11-09 Thread Jayesh Badwaik
put my config there now. Thanks a lot for your help. -- Cheers Jayesh Badwaik https://www.jayeshbadwaik.in signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki

[CMake] Is there a default value for CMAKE_MODULE_PATH?

2016-11-09 Thread Jayesh Badwaik
the PROJECT_SOURCE_DIR which is scanned by default by cmake? If there is no such location, I can live with the warnings for a little while, but I was just curious. -- Cheers Jayesh Badwaik https://www.jayeshbadwaik.in = CMake Warnings = CMake Warning at /usr/share/cmake-3.6

[CMake] Building CMake without Curl

2016-11-02 Thread Jayesh Badwaik
was wondering if there is another method. A follow up question would be, if this is not possible, why is libcurl essential to Cmake? -- Cheers Jayesh Badwaik https://www.jayeshbadwaik.in signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Please