mirror of https://github.com/axmolengine/axmol.git
14 lines
444 B
CMake
14 lines
444 B
CMake
|
|
set(target_name sources-migrate)
|
|
add_executable(${target_name} main.cpp)
|
|
target_include_directories(${target_name}
|
|
PRIVATE ${_AX_ROOT}/core
|
|
PRIVATE ${_AX_ROOT}/thirdparty
|
|
)
|
|
set_target_properties(${target_name}
|
|
PROPERTIES
|
|
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
|
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
|
|
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
|
FOLDER "Tools"
|
|
) |