summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-10-25 22:47:31 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-10-25 22:47:31 -0700
commit995050a54053b32b9a34892f3b86c127d5aad5b9 (patch)
tree1007d1287b23a9ba22b4fa3ccf741dcbe696e84d /src/CMakeLists.txt
parent98460f8916aaa9bf50b8a3a1500a843b1b24150a (diff)
CMakeLists tweaks.
Use compiler optimizations, -Wall, -Werror.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt10
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)
-
-