cmake: Remove prefix/suffix exceptions
Now handled by having shorter variant names
This commit is contained in:
parent
cb8f68192a
commit
a73fdec4ef
|
|
@ -501,10 +501,9 @@ if(CMAKE_CROSSCOMPILING)
|
|||
endif()
|
||||
|
||||
message("Variant added: ${THIS_VAR}")
|
||||
string(REPLACE "-E3Dv6full" "" DIR_NAME "${THIS_VAR}")
|
||||
string(REPLACE "1_75mm_" "" DIR_NAME "${DIR_NAME}")
|
||||
|
||||
# Generate a file in a subfolder so that we can organize things a little more neatly in VS code
|
||||
set(DIR_NAME ${THIS_VAR})
|
||||
file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/build_gen/${DIR_NAME})
|
||||
file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/build_gen/${DIR_NAME}/CMakeLists.txt
|
||||
"project(${DIR_NAME})\nfw_add_variant(${THIS_VAR})"
|
||||
|
|
|
|||
Loading…
Reference in New Issue