SHARE
TWEET

Untitled

a guest Sep 15th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cmake_minimum_required (VERSION 3.8)
  2.  
  3. add_definitions(-DUSE_SND_EXTERNAL_BUFFER)
  4.  
  5. file(GLOB HEADERS
  6.    
  7.     ${CMAKE_CURRENT_SOURCE_DIR}/sound/*.h
  8.     ${CMAKE_CURRENT_SOURCE_DIR}/debugger/*.h
  9. )
  10.  
  11. file(GLOB SOURCES
  12.     ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
  13.     ${CMAKE_CURRENT_SOURCE_DIR}/sound/*.cpp
  14.     ${CMAKE_CURRENT_SOURCE_DIR}/debugger/*.cpp
  15. )
  16.  
  17. include_directories(
  18.     ${CMAKE_CURRENT_SOURCE_DIR}
  19. )
  20.  
  21. link_directories(
  22.     ${CMAKE_CURRENT_SOURCE_DIR}/lib
  23. )
  24.  
  25. add_executable (Unreal ${HEADERS} ${SOURCES})
  26. target_link_libraries(Unreal
  27.     dinput
  28.     dxerr8
  29.    
  30.     delayimp
  31.     gdiplus
  32.     kernel32
  33.     user32
  34.     gdi32
  35.     shell32
  36.     comdlg32
  37.     comctl32
  38.     winmm
  39.     setupapi
  40. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top