Skip to content

Instantly share code, notes, and snippets.

@BSVino
Created July 28, 2014 21:22
Show Gist options
  • Select an option

  • Save BSVino/a7716b91177a42a44fc6 to your computer and use it in GitHub Desktop.

Select an option

Save BSVino/a7716b91177a42a44fc6 to your computer and use it in GitHub Desktop.
#!/bin/bash
pushd `dirname $0`
devtools/bin/vpc_linux +shadereditor /hl2 /h /mksln shadereditor
popd
...
vino@vino-desktop:~/git/source-shader-editor/src$ ./createshadereditorprojects
~/git/source-shader-editor/src ~/git/source-shader-editor/src
VPC - Valve Project Creator For Visual Studio, Xbox 360, PlayStation 3, Xcode and Make (Build: May 15 2014 09:29:30)
(C) Copyright 1996-2010, Valve Corporation, All rights reserved.
Source Path: /home/vino/git/source-shader-editor/src
Target Platform: linux32
----------------------------
!!! No Project Generated !!!
----------------------------
Possibly missing game, platform, or other conditional expected by script.
Use /h verify desired target build set.
~/git/source-shader-editor/src
vino@vino-desktop:~/git/source-shader-editor/src$ ./createshadereditorprojects /h
~/git/source-shader-editor/src ~/git/source-shader-editor/src
VPC - Valve Project Creator For Visual Studio, Xbox 360, PlayStation 3, Xcode and Make (Build: May 15 2014 09:29:30)
(C) Copyright 1996-2010, Valve Corporation, All rights reserved.
Source Path: /home/vino/git/source-shader-editor/src
Target Platform: linux32
User Build Commands:
--------------------
+shadereditor
vgui_controls_editor
editor_shader
shadereditor_dll
Target Projects:
----------------
vgui_controls_editor
editor_shader
shadereditor_dll
Target Games:
-------------
$HL2 = 1
Target Platforms:
-----------------
$LINUX32 = 1
Custom Conditionals:
---------------------
$POSIX = 1
$NO_CEG = 1
$SOURCESDK = 1
$VS2005 = 1
$LINUXALL = 1
$GL = 1
~/git/source-shader-editor/src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment