-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b85301
commit fb793c4
Showing
3 changed files
with
42 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
cmake_minimum_required(VERSION 3.12) | ||
|
||
file(GLOB_RECURSE COMMON_VERSION_SRC CONFIGURE_DEPENDS "*.*") | ||
|
||
add_library(universelan-common-version STATIC ${COMMON_VERSION_SRC} ) | ||
|
||
target_include_directories(universelan-common-version PUBLIC ".") | ||
|
||
if(MSVC) | ||
set(UpdateVersionExt bat) | ||
else() | ||
set(UpdateVersionExt sh) | ||
endif() | ||
|
||
add_custom_target( | ||
custom_version_updater | ||
COMMAND ${CMAKE_SOURCE_DIR}/Util/UpdateVersion.${UpdateVersionExt} | ||
) | ||
|
||
add_dependencies(universelan-common-version custom_version_updater) | ||
cmake_minimum_required(VERSION 3.12) | ||
|
||
file(GLOB_RECURSE COMMON_VERSION_SRC CONFIGURE_DEPENDS "*.*") | ||
|
||
add_library(universelan-common-version STATIC ${COMMON_VERSION_SRC} ) | ||
|
||
target_include_directories(universelan-common-version PUBLIC ".") | ||
|
||
if(MSVC) | ||
set(UpdateVersionExt bat) | ||
else() | ||
set(UpdateVersionExt sh) | ||
endif() | ||
|
||
add_custom_target( | ||
custom_version_updater | ||
COMMAND ${CMAKE_SOURCE_DIR}/Util/UpdateVersion.${UpdateVersionExt} | ||
) | ||
|
||
add_dependencies(universelan-common-version custom_version_updater) |
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