Skip to content
Snippets Groups Projects
Commit c43b41e1 authored by Eidolon's avatar Eidolon
Browse files

Fix generation of SRB2DD target.

It still won't compile correctly. But this should avoid the error
messages related to it.
parent 84720759
Branches
Tags
No related merge requests found
add_executable(${SRB2_WIN_EXE_NAME} EXCLUDE_FROM_ALL file(GLOB SRB2_WIN_SOURCES *.c *.h *.rc)
${SRB2_CORE_SOURCES}
${SRB2_CORE_HEADERS} if(${SRB2_CONFIG_HWRENDER})
${SRB2_LUA_SOURCES} set(SRB2_WIN_SOURCES ${SRB2_WIN_SOURCES} ${SRB2_HWRENDER_SOURCES} ${SRB2_HWRENDER_HEADERS})
${SRB2_LUA_HEADERS} set(SRB2_WIN_SOURCES ${SRB2_WIN_SOURCES} ${SRB2_R_OPENGL_SOURCES} ${SRB2_R_OPENGL_HEADERS})
${SRB2_BLUA_SOURCES} endif()
${SRB2_BLUA_HEADERS})
add_executable(SRB2DD EXCLUDE_FROM_ALL WIN32
target_compile_definitions(${SRB2_WIN_EXE_NAME} PRIVATE ${SRB2_WIN_SOURCES}
)
target_compile_definitions(SRB2DD PRIVATE
-D_WINDOWS -D_WINDOWS
) )
\ No newline at end of file
set_target_properties(SRB2DD PROPERTIES OUTPUT_NAME ${SRB2_WIN_EXE_NAME})
target_link_libraries(SRB2DD PRIVATE SRB2Core)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment