This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
forked from IchthysMaranatha/asterisk-chan-quectel
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also run cmake in proper directory - no need to change directory.
- Loading branch information
Showing
6 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
#!/usr/bin/cmake -P | ||
|
||
SET(ENV{DESTDIR} ${CMAKE_SOURCE_DIR}/install/chan-quectel) | ||
CMAKE_PATH(GET CMAKE_SCRIPT_MODE_FILE PARENT_PATH SCRIPT_DIR) | ||
|
||
SET(ENV{DESTDIR} ${SCRIPT_DIR}/install/chan-quectel) | ||
EXECUTE_PROCESS( | ||
COMMAND ${CMAKE_COMMAND} --install build --component chan-quectel --prefix=/usr | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} | ||
WORKING_DIRECTORY ${SCRIPT_DIR} | ||
COMMAND_ERROR_IS_FATAL ANY | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
#!/usr/bin/cmake -P | ||
|
||
SET(ENV{DESTDIR} ${CMAKE_SOURCE_DIR}/install) | ||
CMAKE_PATH(GET CMAKE_SCRIPT_MODE_FILE PARENT_PATH SCRIPT_DIR) | ||
|
||
SET(ENV{DESTDIR} ${SCRIPT_DIR}/install) | ||
EXECUTE_PROCESS( | ||
COMMAND ${CMAKE_COMMAND} --install build --component openwrt --prefix=/ | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} | ||
WORKING_DIRECTORY ${SCRIPT_DIR} | ||
COMMAND_ERROR_IS_FATAL ANY | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#!/usr/bin/cmake -P | ||
|
||
CMAKE_PATH(GET CMAKE_SCRIPT_MODE_FILE PARENT_PATH SCRIPT_DIR) | ||
|
||
EXECUTE_PROCESS( | ||
COMMAND ${CMAKE_COMMAND} --preset default | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} | ||
WORKING_DIRECTORY ${SCRIPT_DIR} | ||
COMMAND_ERROR_IS_FATAL ANY | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#!/usr/bin/cmake -P | ||
|
||
CMAKE_PATH(GET CMAKE_SCRIPT_MODE_FILE PARENT_PATH SCRIPT_DIR) | ||
|
||
EXECUTE_PROCESS( | ||
COMMAND ${CMAKE_COMMAND} --build --preset package | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} | ||
WORKING_DIRECTORY ${SCRIPT_DIR} | ||
COMMAND_ERROR_IS_FATAL ANY | ||
) |