🔨
Pinned Loading
-
-
CMake Precompiled Header for Windows
CMake Precompiled Header for Windows 1#Based on an answer on StackOverflow https://stackoverflow.com/a/1380048
23MACRO(ADD_MSVC_PRECOMPILED_HEADER PrecompiledHeader PrecompiledSource SourcesVar)
4IF(MSVC)
5GET_FILENAME_COMPONENT(PrecompiledBasename ${PrecompiledHeader} NAME_WE)
-
Copy dll to binary folder
Copy dll to binary folder 1ADD_CUSTOM_COMMAND(TARGET PROJECT_NAME POST_BUILD
2COMMAND ${CMAKE_COMMAND} -E copy
3"${DLL_FILE}" $<TARGET_FILE_DIR:PROJECT_NAME>)
45# Note that this must be run after a target has been created, i.e., after running add_executable
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.