mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Windows: Generate launch.vs.json via CMake template
This commit is contained in:
parent
a58323c367
commit
8143634a4c
2 changed files with 25 additions and 0 deletions
|
@ -560,6 +560,8 @@ if (MSVC)
|
|||
# paths are stored in the output file.
|
||||
configure_file(cmake_templates/zeek-path-dev.bat.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/zeek-path-dev.bat)
|
||||
configure_file(cmake_templates/launch.vs.json.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/.vs/launch.vs.json)
|
||||
|
||||
string(REGEX REPLACE "^([A-Za-z]):/(.*)" "/\\1/\\2" cmake_binary_dir "${cmake_binary_dir}")
|
||||
string(REGEX REPLACE "^([A-Za-z]):/(.*)" "/\\1/\\2" cmake_current_binary_dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue