define the base class to define different file formats
This commit is contained in:
@@ -14,11 +14,17 @@ SET(SOURCE_FILES
|
||||
stdafx.cpp
|
||||
stdafx.h
|
||||
)
|
||||
SET(SOURCE_CONFIG_FILES
|
||||
config/FileFormat.cpp
|
||||
)
|
||||
SET(SOURCE_FILES_RES
|
||||
${CMAKE_BINARY_DIR}/ArrivalMANager.rc
|
||||
${CMAKE_SOURCE_DIR}/res/resource.h
|
||||
${CMAKE_SOURCE_DIR}/res/targetver.h
|
||||
)
|
||||
SET(INCLUDE_CONFIG_FILES
|
||||
${CMAKE_SOURCE_DIR}/include/aman/config/FileFormat.h
|
||||
)
|
||||
SET(INCLUDE_HELPER_FILES
|
||||
${CMAKE_SOURCE_DIR}/include/aman/helper/String.h
|
||||
)
|
||||
@@ -27,7 +33,9 @@ SET(INCLUDE_HELPER_FILES
|
||||
ADD_LIBRARY(
|
||||
ArrivalMANager SHARED
|
||||
${SOURCE_FILES_RES}
|
||||
${SOURCE_CONFIG_FILES}
|
||||
${SOURCE_FILES}
|
||||
${INCLUDE_CONFIG_FILES}
|
||||
${INCLUDE_HELPER_FILES}
|
||||
)
|
||||
|
||||
@@ -50,4 +58,5 @@ ENDIF()
|
||||
|
||||
SOURCE_GROUP("Source Files" FILES ${SOURCE_FILES})
|
||||
SOURCE_GROUP("Source Files\\res" FILES ${SOURCE_FILES_RES})
|
||||
SOURCE_GROUP("Header Files\\config" FILES ${INCLUDE_CONFIG_FILES})
|
||||
SOURCE_GROUP("Header Files\\helper" FILES ${INCLUDE_HELPER_FILES})
|
||||
|
||||
Reference in New Issue
Block a user