mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-09-02 13:09:22 +00:00
This is not particularly interesting for non-developers. Also includes some internal restructuring of URL constants in general.
12 lines
394 B
CMake
12 lines
394 B
CMake
######## Configure the file with build properties ########
|
|
|
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/BuildConfig.cpp.in" "${CMAKE_CURRENT_BINARY_DIR}/BuildConfig.cpp")
|
|
|
|
add_library(BuildConfig STATIC
|
|
BuildConfig.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/BuildConfig.cpp
|
|
)
|
|
|
|
target_link_libraries(BuildConfig Qt5::Core)
|
|
target_include_directories(BuildConfig PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|