mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:26:20 +00:00
[CMAKE]
Add stubs file to source automatically. Gcc: fix set_rc_compiler() so that it doesn't conflict with custom_incdefs(). svn path=/branches/cmake-bringup/; revision=49893
This commit is contained in:
parent
cabd360822
commit
1d2630cc29
3 changed files with 8 additions and 5 deletions
|
@ -13,6 +13,9 @@ if(NOT MSVC)
|
|||
add_definitions(-mrtd -fno-builtin -w)
|
||||
endif()
|
||||
|
||||
spec2def(classpnp.sys class.spec)
|
||||
|
||||
list(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_BINARY_DIR}/class_stubs.c)
|
||||
list(APPEND SOURCE
|
||||
autorun.c
|
||||
class.c
|
||||
|
@ -31,8 +34,6 @@ list(APPEND SOURCE
|
|||
class.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/class.def)
|
||||
|
||||
spec2def(classpnp.sys class.spec)
|
||||
|
||||
add_library(classpnp SHARED ${SOURCE})
|
||||
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue