[CMake] .txx files and Visual Studio 2005 now being compiled

John Drescher drescherjm at gmail.com
Mon May 4 13:14:12 EDT 2009


On Mon, May 4, 2009 at 12:44 PM, John Drescher <drescherjm at gmail.com> wrote:
> On Mon, May 4, 2009 at 12:37 PM, John Drescher <drescherjm at gmail.com> wrote:
>> On Mon, May 4, 2009 at 12:25 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
>>> John Drescher wrote:
>>>>
>>>> I updated my cmake to 2.6.4 on one of my windows development boxes
>>>> (vs2005) and this has caused me problems with .txx files. I generally
>>>> include these from a .h file and they are not supposed to be compiled
>>>> however with 2.6.4 they have changed from built tool "Custom Build
>>>> Tool" to "C/C++ Compiler Tool"
>>>>
>>>
>>>
>>>
>>> This is the fix for the header file only change causing this trouble.
>>>
>>> However, that said, I do not think txx is a default extension for vs to try
>>> and compile.  Did add it to your visual studio?
>>>
>>
>> I will check on that. .txx is not listed in the Options / Text Editor
>> / File Extensions however I may have added it in the registry a while
>> back. I will check into that.
>>
>
> I had it (.txx) in the registry under:
>
> HKEY_USERS\S-1-5-21-4112411809-3170923821-3750361785-3186\Software\Microsoft\VisualStudio\8.0\VC\VC_OBJECTS_PLATFORM_INFO\Win32\ToolDefaultExtensionLists\VCCLCompilerTool
>
>
> I will fix that after lunch and write back if it fixes this issue..
>
Removing .txx from the registry entry above fixed the issue.

Thanks for pointing me in the right direction..
John


More information about the CMake mailing list