mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 15:36:42 +00:00
[CRT] Improve CMake files
This commit is contained in:
parent
950e814377
commit
8043b76e85
3 changed files with 16 additions and 42 deletions
|
@ -12,6 +12,7 @@ list(APPEND CRT_STARTUP_SOURCE
|
|||
startup/natstart.c
|
||||
startup/charmax.c
|
||||
startup/atonexit.c
|
||||
startup/dllmain.c
|
||||
startup/pesect.c
|
||||
startup/tlsmcrt.c
|
||||
startup/tlsthrd.c
|
||||
|
@ -26,3 +27,16 @@ list(APPEND CRT_STARTUP_SOURCE
|
|||
startup/dllentry.c
|
||||
startup/reactos.c
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
list(APPEND CRT_STARTUP_SOURCE
|
||||
startup/mscmain.c
|
||||
startup/threadSafeInit.c
|
||||
)
|
||||
else()
|
||||
list(APPEND CRT_STARTUP_SOURCE
|
||||
startup/gccmain.c
|
||||
startup/pseudo-reloc.c
|
||||
startup/pseudo-reloc-list.c
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue