mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
Move mm_hook to separate file
This commit is contained in:
5
scripts/waifulib/mm_hook.py
Normal file
5
scripts/waifulib/mm_hook.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from waflib import TaskGen
|
||||
@TaskGen.extension('.mm')
|
||||
def mm_hook(self, node):
|
||||
"""Alias .mm files to be compiled the same as .cpp files, gcc will do the right thing."""
|
||||
return self.create_compiled_task('cxx', node)
|
||||
Reference in New Issue
Block a user