khanat-opennel-code/code/nel/tools/logic/logic_editor_dll/CMakeLists.txt

19 lines
693 B
CMake
Raw Normal View History

2010-05-06 00:08:41 +00:00
FILE(GLOB SRC *.cpp *.h res/logic_editor.rc2)
ENABLE_LANGUAGE(RC)
ADD_DEFINITIONS(-D_AFXDLL)
SET(CMAKE_MFC_FLAG 2)
ADD_LIBRARY(logic_editor_dll SHARED ${SRC})
TARGET_LINK_LIBRARIES(logic_editor_dll ${PLATFORM_LINKFLAGS} nelmisc nellogic nelnet)
NL_DEFAULT_PROPS(logic_editor_dll "Tools, Logic: Logic Editor DLL")
NL_ADD_RUNTIME_FLAGS(logic_editor_dll)
NL_ADD_LIB_SUFFIX(logic_editor_dll)
2010-05-06 00:08:41 +00:00
IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(logic_editor_dll ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.h ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.cpp)
ENDIF(WITH_PCH)
2010-05-06 00:08:41 +00:00
INSTALL(TARGETS logic_editor_dll LIBRARY DESTINATION lib RUNTIME DESTINATION bin ARCHIVE DESTINATION lib COMPONENT toolsmisc)