search for: export_file_backslash

Displaying 3 results from an estimated 3 matches for "export_file_backslash".

2014 Jul 23
2
[LLVMdev] [patch] EXPORTED_SYMBOL_FILE using mingw and cmake
...ld you use MINGW in your conditional like this so you only workaround the bug when necessary instead of all Windows platforms? ``` if(MINGW) # mingw workaround, as TO_NATIVE_PATH is implemented incorrectly # See http://public.kitware.com/Bug/print_bug_page.php?bug_id=5939 string(REPLACE / \\ export_file_backslashes "${export_file}") else() file(TO_NATIVE_PATH "${export_file}" export_file_backslashes) endif() ``` I may have got this slightly wrong though as I'm not familiar with MinGW. Thanks, -- Dan Liew PhD Student - Imperial College London
2014 Jul 23
2
[LLVMdev] [patch] EXPORTED_SYMBOL_FILE using mingw and cmake
...mingw and cmake Okay I guess the test would be something like this then if (CMAKE_GENERATOR STREQUAL "MinGW Makefiles") # mingw workaround, as file(TO_NATIVE_PATH ...) is implemented incorrectly # See http://public.kitware.com/Bug/print_bug_page.php?bug_id=5939 string(REPLACE / \\ export_file_backslashes "${export_file}") else() file(TO_NATIVE_PATH "${export_file}" export_file_backslashes) endif() I've written this into patch applied against trunk. Could you test this (I don't use MinGW and don't have time to set it up) and confirm it works? It would be great if...
2014 Jun 17
2
[LLVMdev] [patch] EXPORTED_SYMBOL_FILE using mingw and cmake
Hi, this is my first post to this list, so please excuse if submitting a patch without previous discussion is considered bad form or anything similar. I encountered a bug in the CMake build while using MinGW (non-MSYS, non-CYGWIN) where the LTO_export fails with a "The syntax of the command is incorrect" error. This error was previously fixed for Windows in general using