Advertisement
Guest User

Untitled

a guest
May 24th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. Import('env')
  4. Import('env_modules')
  5.  
  6. env_flex = env_modules.Clone()
  7.  
  8. FLEX_LIBS = ["NvFlexDebugCUDA_x64", "NvFlexDeviceDebug_x64", "NvFlexExtDebugCUDA_x64"]
  9.  
  10. env_flex.Append(CPPPATH=["#thirdparty/flex/include/core"])
  11. env_flex.Append(LINKFLAGS=["-l:" + file_name + ".a" for file_name in FLEX_LIBS])
  12. env_flex.Append(LIBPATH=["#thirdparty/flex/lib/linux64"])
  13.  
  14. env_flex.Append(CPPPATH=["#thirdparty/flex/include"])
  15. env_flex.add_source_files(env.modules_sources, "*.cpp")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement