On Wed, Dec 4, 2013 at 11:01 PM, Christopher Sean Morrison
<[email protected]> wrote:
>
> On Dec 4, 2013, at 9:29 PM, Tom Browder wrote:
>
>> I want to try compiling all BRL-CAD *.c file with a C++ compiler.
>> When I try it by setting, e.g., CC to:
>>
>>  CC='gcc -x c++'
>>
>> and then running cmake I get CMake errors:
>
> That's unfortunate.  Looks like the test in CMakeTestCCompiler.cmake sucks.
>
> There are a couple ways to trick it, though.
...

I couldn't get any to work.  I've had a conversation on the cmake
users' list and there are three bugs files on this issue. Lots of
suggestions but I seem to have a working solution.

See my latest mods to the master CMakeList.txt and the CMakeList.txt
in src/librt.

That has immediately uncovered an issue.

I plan to make such mods to all CMakeLists.txt as I go along--others
helping would be great (good GCI task!).

Best regards,

-Tom

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to