[CMAKE]
- Add mscoree, msg711.acm, msgina, msgsm32.acm, msimg32, msnet32, mssign32, mssip32, msvcrt20, msvcrt40, msvfw32, msvidc32, mswsock, nddeapi, netapi32, newdev, ntdsapi, ntlanman, ntprint, olecli32, oledlg, olesvr32, olethk32, pidgen, powrprof, printui, query, rasapi32, rasdlg, rasman, resutils and samlib to build.
svn path=/branches/cmake-bringup/; revision=48633
2010-08-28 13:20:03 +00:00
|
|
|
|
2010-09-18 15:22:08 +00:00
|
|
|
|
[CMAKE]
- Add mscoree, msg711.acm, msgina, msgsm32.acm, msimg32, msnet32, mssign32, mssip32, msvcrt20, msvcrt40, msvfw32, msvidc32, mswsock, nddeapi, netapi32, newdev, ntdsapi, ntlanman, ntprint, olecli32, oledlg, olesvr32, olethk32, pidgen, powrprof, printui, query, rasapi32, rasdlg, rasman, resutils and samlib to build.
svn path=/branches/cmake-bringup/; revision=48633
2010-08-28 13:20:03 +00:00
|
|
|
|
|
|
|
add_definitions(-DUNICODE -D_UNICODE)
|
|
|
|
|
|
|
|
spec2def(powrprof ${CMAKE_CURRENT_SOURCE_DIR}/powrprof.spec ${CMAKE_CURRENT_BINARY_DIR}/powrprof.def)
|
|
|
|
|
|
|
|
add_library(powrprof SHARED powrprof.c powrprof.rc)
|
|
|
|
|
|
|
|
set_target_properties(powrprof PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
|
|
|
|
|
|
|
target_link_libraries(powrprof
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/powrprof.def
|
|
|
|
wine
|
|
|
|
-ladvapi32
|
|
|
|
-luser32
|
|
|
|
-lcomctl32
|
|
|
|
mingw_common)
|
|
|
|
|
|
|
|
add_dependencies(powrprof powrprof_def psdk)
|