| 12345678910111213141516171819202122232425262728293031323334 |
- include_directories (${CMAKE_SOURCE_DIR}/Source/ThirdParty/rapidjson/include
- ${CMAKE_SOURCE_DIR}/Source/ThirdParty
- ${CMAKE_SOURCE_DIR}/Source/ThirdParty/Assimp/include
- ${CMAKE_SOURCE_DIR}/Source/ThirdParty/nativefiledialog
- ${CMAKE_SOURCE_DIR}/Source/ThirdParty/libcurl/include)
- add_definitions(-DCPLUSPLUS_WITHOUT_QT -DCURL_STATICLIB)
- file (GLOB_RECURSE SOURCE_FILES *.cpp *.h)
- if (APPLE)
- file (GLOB_RECURSE OBJC_FILES *.mm )
- set (SOURCE_FILES ${SOURCE_FILES} ${OBJC_FILES})
- endif()
- add_library(ToolCore ${SOURCE_FILES})
- target_link_libraries(ToolCore Assimp Poco libcurl)
- if (LINUX)
- target_link_libraries(ToolCore NETCore NETScript)
- endif()
- GroupSources("Assets")
- GroupSources("AtomicNET")
- GroupSources("Build")
- GroupSources("Command")
- GroupSources("Import")
- GroupSources("JSBind")
- GroupSources("License")
- GroupSources("Net")
- GroupSources("Platform")
- GroupSources("Project")
- GroupSources("Subprocess")
|