mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Revert ".h.in
aren't compiled"
This allows the version.h.in file to show up in IDEs.
This reverts commit db5f28e65a
.
This commit is contained in:
parent
a07fd521f7
commit
237c2eba35
|
@ -376,7 +376,7 @@ function(set_glob VAR GLOBBING EXTS DIRECTORY) # ...
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(set_src VAR GLOBBING DIRECTORY) # ...
|
function(set_src VAR GLOBBING DIRECTORY) # ...
|
||||||
set_glob(${VAR} ${GLOBBING} "c;cpp;h" ${DIRECTORY} ${ARGN})
|
set_glob(${VAR} ${GLOBBING} "c;cpp;h;h.in" ${DIRECTORY} ${ARGN})
|
||||||
set(${VAR} ${${VAR}} PARENT_SCOPE)
|
set(${VAR} ${${VAR}} PARENT_SCOPE)
|
||||||
set(CHECKSUM_SRC ${CHECKSUM_SRC} ${${VAR}} PARENT_SCOPE)
|
set(CHECKSUM_SRC ${CHECKSUM_SRC} ${${VAR}} PARENT_SCOPE)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
@ -1992,6 +1992,7 @@ set_src(GAME_SHARED GLOB src/game
|
||||||
teamscore.h
|
teamscore.h
|
||||||
tuning.h
|
tuning.h
|
||||||
variables.h
|
variables.h
|
||||||
|
version.h.in
|
||||||
voting.h
|
voting.h
|
||||||
)
|
)
|
||||||
# A bit hacky, but these are needed to register all the UUIDs, even for stuff
|
# A bit hacky, but these are needed to register all the UUIDs, even for stuff
|
||||||
|
|
Loading…
Reference in a new issue