|
@@ -1,10 +1,8 @@
|
|
|
-
|
|
|
|
|
include_directories (${CMAKE_SOURCE_DIR}/Source/ThirdParty/rapidjson/include
|
|
include_directories (${CMAKE_SOURCE_DIR}/Source/ThirdParty/rapidjson/include
|
|
|
${CMAKE_SOURCE_DIR}/Source/ThirdParty
|
|
${CMAKE_SOURCE_DIR}/Source/ThirdParty
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Vendor/nativefiledialog
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Vendor/nativefiledialog
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Vendor/Poco/Foundation/include)
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Vendor/Poco/Foundation/include)
|
|
|
|
|
|
|
|
-
|
|
|
|
|
file (GLOB_RECURSE SOURCE_FILES Source/*.cpp Source/*.h)
|
|
file (GLOB_RECURSE SOURCE_FILES Source/*.cpp Source/*.h)
|
|
|
|
|
|
|
|
add_definitions(-DPOCO_NO_AUTOMATIC_LIBS)
|
|
add_definitions(-DPOCO_NO_AUTOMATIC_LIBS)
|
|
@@ -33,16 +31,17 @@ add_executable(AtomicEditor ${EXE_TYPE} ${SOURCE_FILES} ${ATOMIC_EDITOR_ICON})
|
|
|
|
|
|
|
|
target_link_libraries(AtomicEditor ${ATOMIC_LINK_LIBRARIES} AtomicJS Poco)
|
|
target_link_libraries(AtomicEditor ${ATOMIC_LINK_LIBRARIES} AtomicJS Poco)
|
|
|
|
|
|
|
|
-if (APPLE)
|
|
|
|
|
-
|
|
|
|
|
|
|
+if (APPLE)
|
|
|
set (TARGET_PROPERTIES MACOSX_BUNDLE_INFO_PLIST MacOSXBundleInfo.plist.template)
|
|
set (TARGET_PROPERTIES MACOSX_BUNDLE_INFO_PLIST MacOSXBundleInfo.plist.template)
|
|
|
target_link_libraries(AtomicEditor curl)
|
|
target_link_libraries(AtomicEditor curl)
|
|
|
else()
|
|
else()
|
|
|
-
|
|
|
|
|
target_link_libraries(AtomicEditor libcurl Iphlpapi Wldap32)
|
|
target_link_libraries(AtomicEditor libcurl Iphlpapi Wldap32)
|
|
|
-
|
|
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
if (TARGET_PROPERTIES)
|
|
if (TARGET_PROPERTIES)
|
|
|
set_target_properties (AtomicEditor PROPERTIES ${TARGET_PROPERTIES})
|
|
set_target_properties (AtomicEditor PROPERTIES ${TARGET_PROPERTIES})
|
|
|
endif ()
|
|
endif ()
|
|
|
|
|
+
|
|
|
|
|
+if (APPLE)
|
|
|
|
|
+ include(AtomicEditorMac.cmake)
|
|
|
|
|
+endif(APPLE)
|