Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| adtools | 1 year ago | |
| docker | 2 years ago | |
| scripts | 2 years ago | |
| .gitignore | 2 years ago | |
| LICENSE | 2 years ago | |
| README.md | 2 years ago | |
| build.sh | 2 years ago | |
| pyproject.toml | 2 years ago | |
| reinstall.ps1 | 2 years ago | |
| reinstall.sh | 2 years ago | |
| requirements.txt | 2 years ago | |
| setup.cfg | 2 years ago | |
| setup.py | 2 years ago | |
On Linux:
sudo apt install cmake git clang
./reinstall.sh
On Windows:
winget install git
winget install cmake
# OR
scoop install cmake
scoop install git
./reinstall.ps1
On macOS:
brew install cmake
brew install git
xcode-select --install
For IDE users, please append the following code snippets into your CMakeLists.txt:
# For IDEs
# When using IDE to open this cmake project, it will never to append the
# argument `CMAKE_MODULE_PATH`, so we must set it in the CMakeLists.txt file
# before including the cmake modules of admake.
if (NOT DEFINED CMAKE_MODULE_PATH)
execute_process (COMMAND admake dirs -c
OUTPUT_STRIP_TRAILING_WHITESPACE
RESULT_VARIABLE _ADMAKE_CODE
OUTPUT_VARIABLE _ADMAKE_CMAKE_DIR
ERROR_VARIABLE _ADMAKE_ERROR)
if (NOT _ADMAKE_CODE EQUAL "0")
message (FATAL_ERROR "Failed to append cmake modules of admake: ${_ADMAKE_ERROR}")
else ()
set (CMAKE_MODULE_PATH "${_ADMAKE_CMAKE_DIR}")
endif ()
set (IN_IDE ON)
endif ()
# ...
include (admake)
# Add the OS definitions manually
if (IN_IDE)
add_compile_definitions (${ADMAKE_OS_DEF})
endif ()
NOTE: I will migrate to
poetryin the near future.
# Install twine
pip install -U twine
./build.sh
twine upload --repository-url <repo-url> -u <username> -p <password>
Toys
C++ JavaScript Unity3D Asset C Python other
Apache-2.0