This file contains hidden or 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
# Compute -G arg for configuring external projects with the same CMake generator: | |
if(CMAKE_EXTRA_GENERATOR) | |
set(gen "${CMAKE_EXTRA_GENERATOR} - ${CMAKE_GENERATOR}") | |
else() | |
set(gen "${CMAKE_GENERATOR}") | |
endif() |
This file contains hidden or 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
size_t found = m_FilePath.find_last_of("/\\"); | |
m_FileDir = str.substr(0,found); | |
m_FileName = str.substr(found+1); |
NewerOlder