mirror of https://github.com/axmolengine/axmol.git
Update cmake & readme
This commit is contained in:
parent
f53cfe4ebf
commit
2a1459b27b
|
@ -63,6 +63,7 @@ if(BUILD_EXT_BOX2D)
|
|||
set_target_properties(box2d PROPERTIES
|
||||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||
FOLDER "External"
|
||||
)
|
||||
target_link_libraries(external box2d)
|
||||
|
@ -290,6 +291,13 @@ if(BUILD_EXT_CARES)
|
|||
target_link_libraries(external c-ares)
|
||||
include_directories($<TARGET_FILE_DIR:c-ares>)
|
||||
include_directories("c-ares/include")
|
||||
set_target_properties(c-ares
|
||||
PROPERTIES
|
||||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||
FOLDER "External"
|
||||
)
|
||||
endif(BUILD_EXT_CARES)
|
||||
|
||||
# put "external" into External folder, too
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
## c-ares
|
||||
- Upstream: https://github.com/c-ares/c-ares
|
||||
- Version: 1.17.1
|
||||
- Version: 1.17.1-809d5e8 (2055)
|
||||
- License: MIT
|
||||
|
||||
## Chipmunk2D
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
ADD_SUBDIRECTORY (lib)
|
||||
ADD_SUBDIRECTORY (tools)
|
||||
# ADD_SUBDIRECTORY (tools)
|
||||
|
|
Loading…
Reference in New Issue