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})
|
|
|
|
|
2010-09-01 19:03:30 +00:00
|
|
|
TARGET_LINK_LIBRARIES(logic_editor_dll ${PLATFORM_LINKFLAGS} nelmisc nellogic nelnet)
|
2010-09-03 14:02:04 +00:00
|
|
|
NL_DEFAULT_PROPS(logic_editor_dll "NeL, Tools, Logic: Logic Editor DLL")
|
2010-09-01 19:03:30 +00:00
|
|
|
NL_ADD_RUNTIME_FLAGS(logic_editor_dll)
|
|
|
|
NL_ADD_LIB_SUFFIX(logic_editor_dll)
|
2010-05-06 00:08:41 +00:00
|
|
|
|
2010-07-10 11:40:38 +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-06-26 15:14:08 +00:00
|
|
|
|
2010-05-06 00:08:41 +00:00
|
|
|
INSTALL(TARGETS logic_editor_dll LIBRARY DESTINATION lib RUNTIME DESTINATION bin ARCHIVE DESTINATION lib COMPONENT toolsmisc)
|