Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
danij
committed
Aug 9, 2006
1 parent
2ced1df
commit 0c4acec
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} ) |