2012-04-14 23:02:51 +00:00
|
|
|
set(SOURCES
|
2015-11-08 16:49:25 +00:00
|
|
|
CBot.cpp
|
|
|
|
CBotClass.cpp
|
|
|
|
CBotProgram.cpp
|
|
|
|
CBotStack.cpp
|
|
|
|
CBotString.cpp
|
|
|
|
CBotToken.cpp
|
2015-11-15 15:49:06 +00:00
|
|
|
CBotCall.cpp
|
|
|
|
CBotUtils.cpp
|
2015-11-15 17:51:28 +00:00
|
|
|
CBotDefParam.cpp
|
2015-11-15 17:59:15 +00:00
|
|
|
CBotCallMethode.cpp
|
2015-11-08 19:01:45 +00:00
|
|
|
CBotInstr/CBotWhile.cpp
|
2015-11-08 17:29:02 +00:00
|
|
|
CBotInstr/CBotDo.cpp
|
2015-11-08 17:44:36 +00:00
|
|
|
CBotInstr/CBotFor.cpp
|
2015-11-08 17:54:49 +00:00
|
|
|
CBotInstr/CBotListExpression.cpp
|
2015-11-08 18:04:49 +00:00
|
|
|
CBotInstr/CBotSwitch.cpp
|
2015-11-08 18:12:03 +00:00
|
|
|
CBotInstr/CBotCase.cpp
|
2015-11-08 18:20:06 +00:00
|
|
|
CBotInstr/CBotBreak.cpp
|
2015-11-08 18:27:58 +00:00
|
|
|
CBotInstr/CBotTry.cpp
|
2015-11-08 18:44:56 +00:00
|
|
|
CBotInstr/CBotCatch.cpp
|
2015-11-08 18:53:30 +00:00
|
|
|
CBotInstr/CBotThrow.cpp
|
2015-11-11 16:24:37 +00:00
|
|
|
CBotInstr/CBotExprAlpha.cpp
|
2015-11-11 16:35:09 +00:00
|
|
|
CBotInstr/CBotExprNum.cpp
|
2015-11-11 16:42:10 +00:00
|
|
|
CBotInstr/CBotNew.cpp
|
2015-11-11 16:47:44 +00:00
|
|
|
CBotInstr/CBotExprNan.cpp
|
2015-11-11 16:52:41 +00:00
|
|
|
CBotInstr/CBotExprNull.cpp
|
2015-11-11 16:59:50 +00:00
|
|
|
CBotInstr/CBotExprBool.cpp
|
2015-11-11 17:07:11 +00:00
|
|
|
CBotInstr/CBotLeftExprVar.cpp
|
2015-11-11 17:16:49 +00:00
|
|
|
CBotInstr/CBotPreIncExpr.cpp
|
2015-11-11 17:22:04 +00:00
|
|
|
CBotInstr/CBotPostIncExpr.cpp
|
2015-11-11 17:31:31 +00:00
|
|
|
CBotInstr/CBotExprVar.cpp
|
2015-11-11 17:39:04 +00:00
|
|
|
CBotInstr/CBotInstrMethode.cpp
|
2015-11-11 18:14:45 +00:00
|
|
|
CBotInstr/CBotInstrCall.cpp
|
2015-11-11 18:25:12 +00:00
|
|
|
CBotInstr/CBotListInstr.cpp
|
2015-11-11 18:53:00 +00:00
|
|
|
CBotInstr/CBotBlock.cpp
|
2015-11-11 19:15:42 +00:00
|
|
|
CBotInstr/CBotExprUnaire.cpp
|
2015-11-11 19:36:47 +00:00
|
|
|
CBotInstr/CBotParExpr.cpp
|
2015-11-11 19:44:38 +00:00
|
|
|
CBotInstr/CBotBoolExpr.cpp
|
2015-11-11 20:03:16 +00:00
|
|
|
CBotInstr/CBotLogicExpr.cpp
|
2015-11-11 20:27:56 +00:00
|
|
|
CBotInstr/CBotTwoOpExpr.cpp
|
2015-11-11 20:43:56 +00:00
|
|
|
CBotInstr/CBotExpression.cpp
|
2015-11-11 20:55:02 +00:00
|
|
|
CBotInstr/CBotIndexExpr.cpp
|
2015-11-11 21:02:17 +00:00
|
|
|
CBotInstr/CBotFieldExpr.cpp
|
2015-11-11 21:16:38 +00:00
|
|
|
CBotInstr/CBotLeftExpr.cpp
|
2015-11-11 21:24:37 +00:00
|
|
|
CBotInstr/CBotCondition.cpp
|
2015-11-11 21:36:18 +00:00
|
|
|
CBotInstr/CBotClassInst.cpp
|
2015-11-11 21:45:27 +00:00
|
|
|
CBotInstr/CBotIString.cpp
|
2015-11-11 21:54:10 +00:00
|
|
|
CBotInstr/CBotFloat.cpp
|
2015-11-11 22:03:32 +00:00
|
|
|
CBotInstr/CBotBoolean.cpp
|
2015-11-14 10:40:51 +00:00
|
|
|
CBotInstr/CBotEmpty.cpp
|
2015-11-14 10:51:15 +00:00
|
|
|
CBotInstr/CBotReturn.cpp
|
2015-11-14 10:59:32 +00:00
|
|
|
CBotInstr/CBotIf.cpp
|
2015-11-14 11:07:17 +00:00
|
|
|
CBotInstr/CBotListArray.cpp
|
2015-11-14 11:18:34 +00:00
|
|
|
CBotInstr/CBotInstArray.cpp
|
2015-11-14 11:27:59 +00:00
|
|
|
CBotInstr/CBotInt.cpp
|
2015-11-15 17:31:57 +00:00
|
|
|
CBotInstr/CBotFunction.cpp
|
2015-11-15 16:04:27 +00:00
|
|
|
CBotVar/CBotVarArray.cpp
|
2015-11-15 18:11:57 +00:00
|
|
|
CBotVar/CBotVarPointer.cpp
|
2015-11-15 18:25:35 +00:00
|
|
|
CBotVar/CBotVarClass.cpp
|
2015-11-15 20:13:50 +00:00
|
|
|
CBotVar/CBotVarBoolean.cpp
|
2015-11-15 20:24:54 +00:00
|
|
|
CBotVar/CBotVarString.cpp
|
2015-11-15 20:37:56 +00:00
|
|
|
CBotVar/CBotVarFloat.cpp
|
2015-11-15 20:52:05 +00:00
|
|
|
CBotVar/CBotVarInt.cpp
|
2015-11-15 22:18:47 +00:00
|
|
|
CBotVar/CBotVar.cpp
|
2012-04-14 23:02:51 +00:00
|
|
|
)
|
|
|
|
|
2015-11-08 17:29:02 +00:00
|
|
|
# Includes
|
|
|
|
set(LOCAL_INCLUDES
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(${LOCAL_INCLUDES})
|
|
|
|
|
|
|
|
|
2013-06-24 11:28:18 +00:00
|
|
|
if(CBOT_STATIC)
|
2012-09-29 15:19:23 +00:00
|
|
|
add_library(CBot STATIC ${SOURCES})
|
|
|
|
else()
|
|
|
|
add_library(CBot SHARED ${SOURCES})
|
2013-03-22 17:19:53 +00:00
|
|
|
install(TARGETS CBot LIBRARY
|
|
|
|
DESTINATION ${COLOBOT_INSTALL_LIB_DIR}
|
|
|
|
ARCHIVE DESTINATION ${COLOBOT_INSTALL_LIB_DIR}
|
|
|
|
RUNTIME DESTINATION ${COLOBOT_INSTALL_BIN_DIR})
|
2012-09-29 15:19:23 +00:00
|
|
|
endif()
|
2013-05-26 15:47:54 +00:00
|
|
|
|