Skip to content

Commit

Permalink
Added Cmakelists.txt for WolfTC.
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Aug 9, 2006
1 parent 2ced1df commit 0c4acec
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions doomsday/plugins/wolftc/CMakeLists.txt
@@ -0,0 +1,24 @@
## deng build scripts.
## Copyright © 2006: Jamie Jones (Yagisan) <jamie_jones_au@yahoo.com.au>
## Licensed under the GNU GPLv2 or later versions.
################################################################################

INCLUDE_DIRECTORIES ( ${CMAKE_SOURCE_DIR}/plugins/common/include )
FILE(GLOB COMMON_PLUGIN_SOURCES ${CMAKE_SOURCE_DIR}/plugins/common/src/*.c)

################################################################################
######################## WolfTC Game Plugin ###################################

ADD_DEFINITIONS (-D__WOLFTC__ )
ADD_DEFINITIONS (-D__JDOOM__ )

INCLUDE_DIRECTORIES ( include )

FILE(GLOB JDOOM_SOURCES src/*.c)

ADD_LIBRARY (wolftc SHARED ${WOLFTC_SOURCES} ${COMMON_PLUGIN_SOURCES} )
################################################################################
######################## Install Targets ######################################
INSTALL(TARGETS wolftc
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}${DENG_BINARY_DIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}${DENG_LIBRARY_DIR} )

0 comments on commit 0c4acec

Please sign in to comment.