diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-10-25 22:47:31 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-10-25 22:47:31 -0700 |
commit | 995050a54053b32b9a34892f3b86c127d5aad5b9 (patch) | |
tree | 1007d1287b23a9ba22b4fa3ccf741dcbe696e84d /src/CMakeLists.txt | |
parent | 98460f8916aaa9bf50b8a3a1500a843b1b24150a (diff) |
CMakeLists tweaks.
Use compiler optimizations, -Wall, -Werror.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2258178..aa6ec3d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -36,17 +36,15 @@ else(MSVC) COMMAND ${RE2C} --case-insensitive -b -i ${CMAKE_CURRENT_SOURCE_DIR}/scanners.re >${CMAKE_CURRENT_SOURCE_DIR}/scanners.c) endif(MSVC) -add_executable(${PROGRAM_cmark} +add_executable(${PROGRAM_cmark} ${PROGRAM_cmark_SOURCES}) if (MSVC) -set_property(TARGET ${PROGRAM_cmark} - APPEND PROPERTY LINK_FLAGS /INCREMENTAL:NO) +set_property(TARGET ${PROGRAM_cmark} + APPEND PROPERTY LINK_FLAGS /INCREMENTAL:NO) # if sometimes libs are needed ... #target_link_libraries(${PROGRAM_chronolog}) endif(MSVC) install(TARGETS ${PROGRAM_cmark} -RUNTIME DESTINATION bin +RUNTIME DESTINATION bin BUNDLE DESTINATION /Applications) - - |