File: CMakeLists.txt

package info (click to toggle)
fceux 2.6.5%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 11,116 kB
  • sloc: cpp: 154,839; ansic: 10,345; sh: 3,512; python: 424; pascal: 391; perl: 324; lisp: 60; makefile: 48
file content (19 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cmake_minimum_required(VERSION 2.6)
project(fceux)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
add_subdirectory(cmake/native)
if(UNIX)
  add_subdirectory(cmake/cross-mingw32)
endif(UNIX)

add_custom_command(
  OUTPUT ${EXECUTABLE_OUTPUT_PATH}/fceux.chm
  COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/src/drivers/win/help/fceux.chm ${EXECUTABLE_OUTPUT_PATH}/fceux.chm
  DEPENDS ${CMAKE_SOURCE_DIR}/src/drivers/win/help/fceux.chm
  VERBATIM
)
add_custom_target(
  InstallHelpFile
  ALL
  DEPENDS ${EXECUTABLE_OUTPUT_PATH}/fceux.chm
)