Browse Source

MaxPlasmaLights works better when it has the resources file compiled in... Just sayin'

Adam Johnson 14 years ago
parent
commit
f4685cc990
  1. 10
      Sources/Tools/MaxPlasmaLights/CMakeLists.txt

10
Sources/Tools/MaxPlasmaLights/CMakeLists.txt

@ -18,10 +18,15 @@ set(MaxPlasmaLights_HEADERS
plRTProjDirLightClassDesc.h
plRTProjDirLightPBDec.h
prim.h
resource.h
target.h
)
set(MaxPlasmaLights_RESOURCES
plRTLights.rc
resource.h
)
set(MaxPlasmaLights_SOURCES
DLLEntry.cpp
plRealTimeLightBase.cpp
@ -29,7 +34,7 @@ set(MaxPlasmaLights_SOURCES
plRTProjDirLight.cpp
)
add_library(MaxPlasmaLights SHARED ${MaxPlasmaLights_HEADERS} ${MaxPlasmaLights_SOURCES})
add_library(MaxPlasmaLights SHARED ${MaxPlasmaLights_HEADERS} ${MaxPlasmaLights_RESOURCES} ${MaxPlasmaLights_SOURCES})
set_target_properties(MaxPlasmaLights PROPERTIES SUFFIX ".dlo")
@ -134,4 +139,5 @@ if (WIN32)
endif(WIN32)
source_group("Header Files" FILES ${MaxPlasmaLights_HEADERS})
source_group("Resource Files" FILES ${MaxPlasmaLights_RESOURCES})
source_group("Source Files" FILES ${MaxPlasmaLights_SOURCES})

Loading…
Cancel
Save