Make build setup a little more Windows-friendly (#4435)
* [build][CMake] Use `find_package(Git)` to confirm existence before trying to use git for version stamp; Use friendlier detection of grep executable on Windows; Use "del" on Windows instead of "rm". * [build][Windows] Include dirent and msinttypes headers in source tree. * Remove grep dependency for lua exports generation * Sneaky pythons hiding in code. * [build] Change `git_id` macro to skip check if no git directory is present, also now fails gracefully; Fix `today` macro on Windows; Report git revision; Make sure QtSvg module is found.
This commit is contained in:
committed by
Bertrand Songis
parent
e80c4c858e
commit
3542c8b807
@@ -16,8 +16,6 @@ remove_definitions(-DCLI)
|
||||
if(SDL_FOUND)
|
||||
include_directories(${SDL_INCLUDE_DIR})
|
||||
add_definitions(-DJOYSTICKS)
|
||||
else()
|
||||
remove_definitions(-DSIMU_AUDIO)
|
||||
endif()
|
||||
|
||||
if(SIMU_LUA_COMPILER)
|
||||
|
||||
Reference in New Issue
Block a user